Skip to content

Don't link to current question #30

Don't link to current question

Don't link to current question #30

Workflow file for this run

name: Deploy web
on:
push:
branches: [main]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install node
uses: actions/setup-node@v4
with:
node-version: 20
cache: "npm"
- name: Build web app
run: |
npm ci
npm run setup-govuk
npm run build
- name: Publish
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./build/