Skip to content

Merge branch 'main' of https://github.com/nhsconnect/nhslogin #284

Merge branch 'main' of https://github.com/nhsconnect/nhslogin

Merge branch 'main' of https://github.com/nhsconnect/nhslogin #284

name: Eleventy Build
on:
push:
branches:
- main
jobs:
build_deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup node
uses: actions/setup-node@v1
with:
node-version: '16.x'
- name: Install npm packages
run: npm ci
- name: Build Deployment Package
run: npm run build
- name: Deploy
uses: peaceiris/actions-gh-pages@v2
env:
PUBLISH_DIR: _site
PUBLISH_BRANCH: gh-pages
PERSONAL_TOKEN: ${{ secrets.GITHUB_TOKEN }}