Initial commit
This commit is contained in:
26
.github/workflows/build-and-deploy.yml
vendored
Normal file
26
.github/workflows/build-and-deploy.yml
vendored
Normal file
@@ -0,0 +1,26 @@
|
||||
name: Build
|
||||
|
||||
on:
|
||||
push:
|
||||
branches-ignore:
|
||||
- 'gh-pages'
|
||||
permissions:
|
||||
contents: write
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
|
||||
- name: Build # Have to run processing first so the list.json exists to be included in the the deploy
|
||||
run: |
|
||||
npm ci --prefix processing
|
||||
npm ci --prefix site
|
||||
./build_all_branches.sh
|
||||
|
||||
- name: Deploy
|
||||
uses: JamesIves/github-pages-deploy-action@v4
|
||||
with:
|
||||
branch: gh-pages
|
||||
folder: public
|
||||
Reference in New Issue
Block a user