.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
|
uses: cachix/install-nix-action@v23
|
||||||
with:
|
with:
|
||||||
extra_nix_config: |
|
extra_nix_config: |
|
||||||
|
accept-flake-config = true
|
||||||
experimental-features = nix-command flakes
|
experimental-features = nix-command flakes
|
||||||
|
max-jobs = 0
|
||||||
- name: Setup Pages
|
- name: Setup Pages
|
||||||
id: pages
|
id: pages
|
||||||
uses: actions/configure-pages@v3
|
uses: actions/configure-pages@v3
|
||||||
- name: Build Pages
|
- name: Build Pages
|
||||||
run: |
|
run: |
|
||||||
nix build --option accept-flake-config true .#pages
|
nix build .#pages
|
||||||
- name: Upload artifact
|
- name: Upload artifact
|
||||||
uses: actions/upload-pages-artifact@v2
|
uses: actions/upload-pages-artifact@v2
|
||||||
with:
|
with:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue