autobaan/.woodpecker/test.yaml
Collin Duncan e2b420ef56
Some checks failed
ci/woodpecker/manual/test Pipeline failed
changing to use volumes instead of secrets
2025-04-24 13:47:36 +02:00

17 lines
372 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
volumes:
- /etc/ssh/keys:/etc/ssh/keys
commands:
- cat /etc/ssh/keys/id_ed25519
- ssh -i /etc/ssh/keys/id_ed25519 root@autobaan touch deploy