Skip to content

Latest commit

 

History

History

branch-preview

Branch Preview Branch preview CI

Deploy per branch to Netlify from GitHub Actions

Pack

Build the typescript and package it for distribution

$ npm run build && npm run pack

Usage

- 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 }}