Merge branch 'main' of https://github.com/nhsconnect/nhslogin #284
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: 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 }} |