Skip to content

Pages

Pages #46

Workflow file for this run

name: Pages
on:
# Only run after a successful release
workflow_call:
# Allow to run manually
workflow_dispatch:
permissions:
contents: write
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Setup | Checkout
uses: actions/checkout@v4
with:
submodules: recursive
- name: Setup | Zola
run: |
wget -qO- https://github.com/getzola/zola/releases/download/v0.12.2/zola-v0.12.2-x86_64-unknown-linux-gnu.tar.gz | tar -xzf - \
&& sudo chmod a+x zola && sudo mv zola /bin/zola
- name: Build
run: cd site && zola build
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./site/public
cname: trunkrs.dev