Magic Nix Cache will no longer work with the GitHub Actions cache as of February 1st [1]. Temporarily removing this while we look into alternative solutions. [1] https://determinate.systems/posts/magic-nix-cache-free-tier-eol/
35 lines
624 B
YAML
35 lines
624 B
YAML
---
|
|
name: Docs
|
|
|
|
on: # yamllint disable-line rule:truthy
|
|
push:
|
|
branches:
|
|
- master
|
|
|
|
concurrency:
|
|
cancel-in-progress: true
|
|
group: pages
|
|
|
|
jobs:
|
|
docs:
|
|
runs-on: ubuntu-24.04
|
|
|
|
permissions:
|
|
contents: read
|
|
id-token: write
|
|
pages: write
|
|
|
|
environment:
|
|
name: github-pages
|
|
url: ${{ steps.deployment.outputs.page_url }}
|
|
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- uses: DeterminateSystems/nix-installer-action@v16
|
|
- run: nix build .#docs
|
|
|
|
- uses: actions/upload-pages-artifact@v3
|
|
with:
|
|
path: result
|
|
|
|
- uses: actions/deploy-pages@v4
|