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 - npm run test:unit
- name: deploy - name: deploy
image: kroniak/ssh-client image: kroniak/ssh-client
environment: volumes:
SSH_KEY: - /etc/ssh/keys:/etc/ssh/keys
from_secret: AUTOBAAN_SSH_KEY
commands: commands:
- echo $${SSH_KEY} > ssh_key - cat /etc/ssh/keys/id_ed25519
- ssh -i ssh_key root@autobaan touch deploy - ssh -i /etc/ssh/keys/id_ed25519 root@autobaan touch deploy