Skip to content

Deploy master to live #9

Deploy master to live

Deploy master to live #9

name: Deploy master to live
on: workflow_dispatch
jobs:
deploy-live:
name: Deploy master to live
runs-on: ubuntu-latest
environment: deploy
steps:
- name: Checkout repository
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
ref: master
persist-credentials: false
- name: Set up Node.js
uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4.1.0
with:
node-version: 22
- name: Build the site
run: ./build.sh
- name: Deploy to Netlify
run: ./deploy.sh --prod
env:
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}