Skip to content

Post DOE redirect back to main #22

Post DOE redirect back to main

Post DOE redirect back to main #22

Workflow file for this run

name: CD Prod
concurrency:
group: prod
cancel-in-progress: true
on:
workflow_dispatch:
release:
types: [published]
jobs:
lint_build_deploy:
name: Lint and build code, then publish to Netlify
environment:
name: prod
url: https://hd-2023.netlify.app/
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- 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: Publish to Netlify
run: netlify deploy --build --prod
env:
NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }}
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}