Deploy per branch to Netlify from GitHub Actions
Build the typescript and package it for distribution
$ npm run build && npm run pack
- name: Deploy to Netlify
uses: byzanteam/jet-actions/branch-preview@main
with:
netlify-auth: ${{ secrets.NETLIFY_AUTH_TOKEN }}
netlify-dir: ./dist/
netlify-site-name: ${{ steps.set-site-name.outputs.name }}
netlify-account-slug: jet-preview
github-token: ${{ secrets.GITHUB_TOKEN }}