lazygit
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
maren 2024-01-07 19:40:23 -05:00
parent 440994becc
commit ff4ef29b0c

View file

@ -13,7 +13,17 @@ steps:
- raco exe sorrel.dev.rkt - raco exe sorrel.dev.rkt
- raco distribute dist sorrel.dev - raco distribute dist sorrel.dev
- ls - ls
a-test-step: deploy:
image: debian:bookworm image: alpine:latest
secrets: [ deploy_ssh_key ]
commands: commands:
- echo "Testing.." - apk add rsync openssh
- mkdir ~/.ssh
- printf '%s\n' "$${DEPLOY_SSH_KEY}" > ~/.ssh/deploy_ssh_key
- printf "Host turtle.hup.is\n\tIdentityFile ~/.ssh/deploy_ssh_key\n\tUserKnownHostsFile=/dev/null\n\tStrictHostKeyChecking=no\n" > ~/.ssh/config
- chmod -R u=rwX,go= ~/.ssh
# - rsync -rPvce ssh --chmod=ugo=rwX --no-times public/ www-fediparty@fediverse.party:www/
- ssh deploy@turtle.hup.is "ls"
when:
# Only try to deploy if previous step is successful
status: success