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 00:58:11 +05:30
parent 2233f70332
commit e6c4062a42

16
.woodpecker/ci.yml Normal file
View File

@@ -0,0 +1,16 @@
pipeline:
build-and-deploy:
image: nixos/nix:latest
evironment:
- NIX_FEATURES=nix-command flakes
commands:
- nix-env -iA nixpkgs.cachix
- cachix use $CACHIX_NAME
- cachix watch-exec pain nix -- --extra-experimental-features $NIX_FEATURES shell .#site
- site clean
- site rebuild
- eval `ssh-agent`
- echo $REMOTE_KEY | ssh-add -
- site deploy
secrets: [ cachix_auth_token, cachix_name, remote_key ]