Consolidate steps
continuous-integration/drone/push Build is failing Details

pull/1/head
mat ess 2022-10-19 21:12:29 -04:00
parent b7ccaf46da
commit 967fe00c63
1 changed files with 5 additions and 9 deletions

View File

@ -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)' \