test-proj/.woodpecker.yml
Morgan McMillian cdb9c85cc4
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
test
2023-03-08 21:33:59 -08:00

17 lines
376 B
YAML

pipeline:
test:
image: debian:stable
secrets: [ ssh_key ]
commands:
- echo $SSH_KEY > /tmp/privateKey
- ssh -i /tmp/privateKey igor@vimes.dreamfall.space "cat /ec/os-release"
publish:
image: plugins/ansible
secrets: [ ssh_key ]
settings:
playbook: main.yml
inventory: hosts.ini
user: igor
private_key: $SSH_KEY