ci: update to use website derivation

This commit is contained in:
Gabriel Arazas 2024-09-22 18:10:32 +08:00
parent b02896bf15
commit daf0f70c3b
No known key found for this signature in database
GPG Key ID: 62104B43D00AA360

View File

@ -13,10 +13,10 @@ jobs:
- uses: DeterminateSystems/magic-nix-cache-action@v8 - uses: DeterminateSystems/magic-nix-cache-action@v8
- env: - env:
NIXPKGS_ALLOW_UNFREE: "1" NIXPKGS_ALLOW_UNFREE: "1"
run: nix develop .#docs --impure -c hugo -s ./docs/ run: nix build .#devPackages.x86_64-linux.website
- uses: actions/upload-pages-artifact@v3 - uses: actions/upload-pages-artifact@v3
with: with:
path: "docs/public" path: "result/"
retention-days: 7 retention-days: 7
deploy: deploy: