autobaan/.woodpecker/test.yaml
Collin Duncan e3c91dd5c6
Some checks failed
ci/woodpecker/push/test Pipeline failed
fixing typo in manual trigger
2025-04-24 13:33:20 +02:00

18 lines
374 B
YAML

when:
- event: push
- event: manual
steps:
- name: test
image: docker.io/node:hydrogen-slim
commands:
- npm ci
- npm run test:unit
- name: deploy
image: kroniak/ssh-client
environment:
SSH_KEY:
from_secret: AUTOBAAN_SSH_KEY
commands:
- echo $${SSH_KEY} > ssh_key
- ssh -i ssh_key root@autobaan touch deploy