Files
website/.github/workflows/zola.yml
Michael Davis a9652796d4 Bump Zola to 0.19.2 (#48)
The `generate_feed` option was renamed to `generate_feeds` in version
0.19, so this update should fix the atom feed.
2024-08-23 11:18:49 +02:00

23 lines
654 B
YAML

name: Publish to Github Pages
on:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout source
uses: actions/checkout@v2
- name: Install Zola
run: wget -q -O - "https://github.com/getzola/zola/releases/download/v${ZOLA_VERSION}/zola-v${ZOLA_VERSION}-x86_64-unknown-linux-gnu.tar.gz" | sudo tar xzf - -C /usr/local/bin
env:
ZOLA_VERSION: 0.19.2
- name: Build
run: zola build
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./public