changing to use volumes instead of secrets
Some checks failed
ci/woodpecker/manual/test Pipeline failed

This commit is contained in:
Collin Duncan 2025-04-24 13:47:36 +02:00
parent e3c91dd5c6
commit e2b420ef56
No known key found for this signature in database

View file

@ -10,9 +10,8 @@ steps:
- npm run test:unit
- name: deploy
image: kroniak/ssh-client
environment:
SSH_KEY:
from_secret: AUTOBAAN_SSH_KEY
volumes:
- /etc/ssh/keys:/etc/ssh/keys
commands:
- echo $${SSH_KEY} > ssh_key
- ssh -i ssh_key root@autobaan touch deploy
- cat /etc/ssh/keys/id_ed25519
- ssh -i /etc/ssh/keys/id_ed25519 root@autobaan touch deploy