Merge pull request #51 from gfw-report/master #23
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |