2023-01-11 11:55:36 +00:00
|
|
|
name: Build
|
2022-12-14 15:03:50 +00:00
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
2023-01-11 11:55:36 +00:00
|
|
|
branches-ignore:
|
|
|
|
- 'gh-pages'
|
2022-12-14 15:03:50 +00:00
|
|
|
permissions:
|
|
|
|
contents: write
|
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v3
|
|
|
|
|
2023-01-10 13:22:03 +00:00
|
|
|
- name: Build # Have to run processing first so the list.json exists to be included in the the deploy
|
2023-01-10 13:19:21 +00:00
|
|
|
run: |
|
2023-01-13 18:46:28 +00:00
|
|
|
npm ci --prefix processing
|
|
|
|
npm ci --prefix site
|
2023-01-13 16:59:58 +00:00
|
|
|
./build_all_branches.sh
|
2023-01-11 14:19:26 +00:00
|
|
|
|
2022-12-14 15:03:50 +00:00
|
|
|
- name: Deploy
|
|
|
|
uses: JamesIves/github-pages-deploy-action@v4
|
|
|
|
with:
|
|
|
|
branch: gh-pages
|
2023-01-10 16:54:01 +00:00
|
|
|
folder: public
|