@@ -5,6 +5,8 @@ steps:
|
|||||||
commands:
|
commands:
|
||||||
- ls -la
|
- ls -la
|
||||||
- pwd
|
- pwd
|
||||||
|
- 'echo "CI_WORKSPACE = $CI_WORKSPACE"'
|
||||||
|
- ls -la $CI_WORKSPACE/
|
||||||
- find . -type f | head -n 20
|
- find . -type f | head -n 20
|
||||||
- name: deploy
|
- name: deploy
|
||||||
image: appleboy/drone-ssh
|
image: appleboy/drone-ssh
|
||||||
@@ -14,6 +16,11 @@ steps:
|
|||||||
key:
|
key:
|
||||||
from_secret: SSH_PRIVATE_KEY
|
from_secret: SSH_PRIVATE_KEY
|
||||||
script:
|
script:
|
||||||
|
- ls -la
|
||||||
|
- pwd
|
||||||
|
- 'echo "CI_WORKSPACE = $CI_WORKSPACE"'
|
||||||
|
- ls -la $CI_WORKSPACE/
|
||||||
|
- find . -type f | head -n 20
|
||||||
- rsync -av ./ /opt/testbot-git/
|
- rsync -av ./ /opt/testbot-git/
|
||||||
when:
|
when:
|
||||||
event: push
|
event: push
|
||||||
|
|||||||
Reference in New Issue
Block a user