Skip to content

ci: bump cachix/cachix-action from 12 to 13 (#11) #59

ci: bump cachix/cachix-action from 12 to 13 (#11)

ci: bump cachix/cachix-action from 12 to 13 (#11) #59

Workflow file for this run

name: "Build project site"
on:
workflow_dispatch:
push:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: DeterminateSystems/magic-nix-cache-action@v2
- uses: DeterminateSystems/nix-installer-action@v8
- env:
NIXPKGS_ALLOW_UNFREE: "1"
run: nix develop .#docs --impure -c hugo -s ./docs/
- uses: actions/upload-pages-artifact@v2
with:
path: "docs/public"
retention-days: 7
deploy:
needs: build
permissions:
pages: write
id-token: write
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v2