Files
Zilant2025/.woodpecker-ssh-agent-backup.yml
T
gitadmin a1a8d779a9
ci/woodpecker/push/woodpecker Pipeline failed
comeback to alpine
2025-09-27 00:37:10 +03:00

28 lines
599 B
YAML

steps:
- name: prepare
image: alpine:latest
commands:
- ls -la
- pwd
- 'echo "CI_WORKSPACE = $CI_WORKSPACE"'
- ls -la $CI_WORKSPACE/
- find . -type f | head -n 20
- name: deploy
image: appleboy/drone-ssh
settings:
host: 192.168.0.109
user: deployer
key:
from_secret: SSH_PRIVATE_KEY
script:
- ls -la
- pwd
- 'echo "CI_WORKSPACE = $CI_WORKSPACE"'
- ls -la $CI_WORKSPACE/
- find . -type f | head -n 20
- rsync -av ./ /opt/testbot-git/
when:
event: push
branch: main