Consolidate steps
continuous-integration/drone/push Build is failing
Details
continuous-integration/drone/push Build is failing
Details
parent
b7ccaf46da
commit
967fe00c63
14
.drone.yml
14
.drone.yml
|
@ -7,21 +7,17 @@ environment:
|
||||||
CACHE_NAME: mat
|
CACHE_NAME: mat
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: set up cachix
|
|
||||||
image: nixos/nix
|
|
||||||
environment:
|
|
||||||
CACHIX_AUTH_TOKEN:
|
|
||||||
from_secret: cachix_auth_token
|
|
||||||
commands:
|
|
||||||
- $NIX profile install nixpkgs#cachix
|
|
||||||
- cachix use $CACHE_NAME
|
|
||||||
- name: nix build
|
- name: nix build
|
||||||
image: nixos/nix
|
image: nixos/nix
|
||||||
volumes:
|
volumes:
|
||||||
- name: site
|
- name: site
|
||||||
path: /site
|
path: /site
|
||||||
|
environment:
|
||||||
|
CACHIX_AUTH_TOKEN:
|
||||||
|
from_secret: cachix_auth_token
|
||||||
commands:
|
commands:
|
||||||
- $NIX profile install nixpkgs#jq
|
- $NIX profile install nixpkgs#cachix nixpkgs#jq
|
||||||
|
- cachix use $CACHE_NAME
|
||||||
- >
|
- >
|
||||||
$NIX flake archive --json \
|
$NIX flake archive --json \
|
||||||
| jq -r '.path,(.inputs|to_entries[].value.path)' \
|
| jq -r '.path,(.inputs|to_entries[].value.path)' \
|
||||||
|
|
Loading…
Reference in New Issue