fixup! ci: test woodpecker
Some checks failed
ci/woodpecker/push/ci Pipeline failed

Signed-off-by: Amneesh Singh <natto@weirdnatto.in>
This commit is contained in:
2022-10-24 04:20:44 +05:30
parent c726bbe79a
commit 0d7ab9b108

View File

@@ -2,16 +2,16 @@ pipeline:
build-and-deploy: build-and-deploy:
image: nixos/nix:latest image: nixos/nix:latest
commands: commands:
- nix-env -iA nixpkgs.cachix nixpkgs.rsync nixpkgs.jq # - nix-env -iA nixpkgs.cachix nixpkgs.rsync nixpkgs.jq
- cachix use $CACHIX_NAME # - cachix use $CACHIX_NAME
- nix --extra-experimental-features "nix-command flakes" -L build .#site #- nix --extra-experimental-features "nix-command flakes" -L build .#site
| jq -r '.[].outputs | to_entries[].value' #| jq -r '.[].outputs | to_entries[].value'
| cachix push $CACHIX_NAME #| cachix push $CACHIX_NAME
- nix --extra-experimental-features "nix-command flakes" -L shell .#site #- nix --extra-experimental-features "nix-command flakes" -L shell .#site
- site clean #- site clean
- site rebuild #- site rebuild
- eval `ssh-agent` - eval `ssh-agent`
- echo $REMOTE_KEY - echo "$REMOTE_KEY" | ssh-add -
- site deploy - site deploy
secrets: [ cachix_auth_token, cachix_name, remote_key ] secrets: [ cachix_auth_token, cachix_name, remote_key ]