added path filters to main + pyswiss pipelines; fixed deploy-pyswiss absolute path for deploy.sh
All checks were successful
ci/woodpecker/push/pyswiss Pipeline was successful
ci/woodpecker/push/main Pipeline was successful

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Disco DeDisco
2026-04-14 00:26:54 -04:00
parent df2b353ebd
commit 44cf399352
2 changed files with 33 additions and 1 deletions

View File

@@ -10,6 +10,9 @@ steps:
- python manage.py test apps.charts
when:
- event: push
path:
- "pyswiss/**"
- ".woodpecker/pyswiss.yaml"
- name: deploy-pyswiss
image: alpine
@@ -21,7 +24,10 @@ steps:
- 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
- ssh -o StrictHostKeyChecking=no discoman@167.172.154.66 /home/discoman/deploy.sh
when:
- branch: main
event: push
path:
- "pyswiss/**"
- ".woodpecker/pyswiss.yaml"