Feat/add registration links (#346) #141
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CD — Staging | |
concurrency: | |
group: staging | |
cancel-in-progress: true | |
on: | |
workflow_dispatch: | |
push: | |
branches: [main] | |
jobs: | |
lint_build_deploy: | |
name: Lint and build code, then publish to Netlify | |
environment: | |
name: staging | |
url: https://staging.includedavis.com | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Use Node.js 16 | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 16 | |
- name: Install dependencies | |
run: yarn install --immutable --immutable-cache --check-cache | |
- name: Lint and build code, then publish to Netlify | |
run: netlify deploy --build --prod | |
env: | |
NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }} | |
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }} |