Skip to content

Merge pull request #89 from uk-x-gov-software-community/ClaudiaChiurl… #91

Merge pull request #89 from uk-x-gov-software-community/ClaudiaChiurl…

Merge pull request #89 from uk-x-gov-software-community/ClaudiaChiurl… #91

Workflow file for this run

name: build
on:
push:
branches:
- main
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Build
uses: actions/setup-node@v4
with:
node-version: 20
- run: npm ci
- run: npm run build
- name: Deploy
uses: peaceiris/[email protected]
if: github.ref == 'refs/heads/main'
with:
deploy_key: ${{ secrets.ACTIONS_DEPLOY_KEY }}
publish_dir: _site
publish_branch: gh-pages