Skip to content

Merge pull request #48 from gfw-report/master #20

Merge pull request #48 from gfw-report/master

Merge pull request #48 from gfw-report/master #20

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