Skip to content

Merge pull request #44 from gfw-report/master #16

Merge pull request #44 from gfw-report/master

Merge pull request #44 from gfw-report/master #16

name: Deploy website
on:
push:
branches:
master
permissions:
contents: write
jobs:
deploy-website:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install and Build
run: |
go build -C src -o ../compiler
mkdir build
mv assets build
./compiler -path references.bib > build/index.html
- name: Deploy
uses: JamesIves/github-pages-deploy-action@v4
with:
# Must be identical to where we wrote the HTML to.
folder: build