website/.github/workflows/pages.yml
2024-08-05 23:19:34 +02:00

28 lines
622 B
YAML

name: test
on:
push:
branches:
- main
pull_request:
jobs:
test:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
with:
submodules: true # Fetch Hugo themes (true OR recursive)
fetch-depth: 0 # Fetch all history for .GitInfo and .Lastmod
- name: Setup Hugo
uses: peaceiris/actions-hugo@v2
with:
hugo-version: 'latest'
# extended: true
- name: Setup Rust
uses: dtolnay/rust-toolchain@stable
- name: Build website
run: cargo run --manifest-path ./builder/Cargo.toml build