.github/book: Work around PATH issue for now
This commit is contained in:
parent
d93a0f587c
commit
f4e52f9ad0
2
.github/workflows/book.yml
vendored
2
.github/workflows/book.yml
vendored
|
@ -32,6 +32,7 @@ jobs:
|
||||||
|
|
||||||
- name: Configure Attic
|
- name: Configure Attic
|
||||||
run: |
|
run: |
|
||||||
|
export PATH=$HOME/.nix-profile/bin:$PATH # FIXME
|
||||||
attic login staging https://staging.attic.rs/ "$ATTIC_TOKEN"
|
attic login staging https://staging.attic.rs/ "$ATTIC_TOKEN"
|
||||||
attic use attic-ci
|
attic use attic-ci
|
||||||
env:
|
env:
|
||||||
|
@ -55,6 +56,7 @@ jobs:
|
||||||
# TODO: Just take a diff of the list of store paths, also abstract all of this out
|
# TODO: Just take a diff of the list of store paths, also abstract all of this out
|
||||||
- name: Push build artifacts
|
- name: Push build artifacts
|
||||||
run: |
|
run: |
|
||||||
|
export PATH=$HOME/.nix-profile/bin:$PATH # FIXME
|
||||||
if [ -n "$ATTIC_TOKEN" ]; then
|
if [ -n "$ATTIC_TOKEN" ]; then
|
||||||
nix build .#book --no-link --print-out-paths -L | \
|
nix build .#book --no-link --print-out-paths -L | \
|
||||||
xargs attic push attic-ci
|
xargs attic push attic-ci
|
||||||
|
|
Loading…
Reference in a new issue