.github/workflows/pages.yml: various
- this package should always be cached, add max-jobs so job errors if it isn't - move accept-flake-config to extra_nix_config
This commit is contained in:
parent
542f099114
commit
6b687aef38
1 changed files with 3 additions and 1 deletions
4
.github/workflows/pages.yml
vendored
4
.github/workflows/pages.yml
vendored
|
@ -23,13 +23,15 @@ jobs:
|
|||
uses: cachix/install-nix-action@v23
|
||||
with:
|
||||
extra_nix_config: |
|
||||
accept-flake-config = true
|
||||
experimental-features = nix-command flakes
|
||||
max-jobs = 0
|
||||
- name: Setup Pages
|
||||
id: pages
|
||||
uses: actions/configure-pages@v3
|
||||
- name: Build Pages
|
||||
run: |
|
||||
nix build --option accept-flake-config true .#pages
|
||||
nix build .#pages
|
||||
- name: Upload artifact
|
||||
uses: actions/upload-pages-artifact@v2
|
||||
with:
|
||||
|
|
Loading…
Add table
Reference in a new issue