censorbib/.github/workflows/deploy-website.yaml
Philipp Winter 6eed967a62 Replace "main" with "master".
...the gift that keeps on giving.
2024-03-10 14:39:23 -05:00

28 lines
585 B
YAML

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