Skip to content

Deploy master to live #5

Deploy master to live

Deploy master to live #5

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@v4
with:
ref: master
- name: Set up Node.js
uses: actions/setup-node@v3
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 }}