Files
soleprint/.woodpecker.yml
buenosairesam 9e5cbbad1f refactor: separate standalone and managed room configs
- veins → shunts rename
- add cfg/standalone/ and cfg/<room>/ structure
- remove old data/*.json (moved to cfg/<room>/data/)
- update build.py and ctrl scripts
2026-01-02 17:09:58 -03:00

29 lines
842 B
YAML

# Generic woodpecker trigger
# Copy to any repo as .woodpecker.yml
# Runs matching pipeline from ppl/pipelines/<repo>/
when:
event: push
branch: main
steps:
- name: build
image: alpine
commands:
- apk add --no-cache git openssh-client
- mkdir -p ~/.ssh
- echo "$SSH_KEY" | base64 -d > ~/.ssh/id_rsa
- chmod 600 ~/.ssh/id_rsa
- ssh -o StrictHostKeyChecking=no mariano@mcrn.ar "cd ~/ppl && ./ctrl/run-pipeline.sh ${CI_REPO_NAME} build"
secrets: [ssh_key]
- name: deploy
image: alpine
commands:
- apk add --no-cache openssh-client
- mkdir -p ~/.ssh
- echo "$SSH_KEY" | base64 -d > ~/.ssh/id_rsa
- chmod 600 ~/.ssh/id_rsa
- ssh -o StrictHostKeyChecking=no mariano@mcrn.ar "cd ~/ppl && ./ctrl/run-pipeline.sh ${CI_REPO_NAME} deploy"
secrets: [ssh_key]