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