added deploy-pyswiss Woodpecker step to auto-deploy pyswiss droplet on push to main
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Disco DeDisco
2026-04-13 22:59:08 -04:00
parent cc2ab869f1
commit 02a7a0ef2e

View File

@@ -80,6 +80,21 @@ steps:
- event: push - event: push
status: failure status: failure
- name: deploy-pyswiss
image: alpine
environment:
SSH_KEY:
from_secret: deploy_ssh_key
commands:
- apk add --no-cache openssh-client
- mkdir -p ~/.ssh
- printf '%s\n' "$SSH_KEY" > ~/.ssh/id_ed25519
- chmod 600 ~/.ssh/id_ed25519
- ssh -o StrictHostKeyChecking=no discoman@167.172.154.66 ~/deploy.sh
when:
- branch: main
event: push
- name: build-and-push - name: build-and-push
image: docker:cli image: docker:cli
environment: environment: