Signed-off-by: Amneesh Singh <natto@weirdnatto.in>
This commit is contained in:
14
.woodpecker/ci.yml
Normal file
14
.woodpecker/ci.yml
Normal file
@@ -0,0 +1,14 @@
|
||||
pipeline:
|
||||
build-and-deploy:
|
||||
image: nixos/nix:latest
|
||||
commands:
|
||||
- nix-env -iA nixpkgs.cachix nixpkgs.rsync
|
||||
- cachix use $CACHIX_NAME
|
||||
- cachix watch-exec pain nix -- --extra-experimental-features "nix-command flakes" -L shell .#site
|
||||
- site clean
|
||||
- site rebuild
|
||||
- eval `ssh-agent`
|
||||
- echo $REMOTE_KEY | tr -d '\r' | ssh-add -
|
||||
- site deploy
|
||||
|
||||
secrets: [ cachix_auth_token, cachix_name, remote_key ]
|
||||
Reference in New Issue
Block a user