debug for wp
This commit is contained in:
+9
-1
@@ -1,4 +1,12 @@
|
||||
steps:
|
||||
|
||||
- name: prepare
|
||||
image: alpine:latest
|
||||
commands:
|
||||
- ls -la
|
||||
- echo "Current dir: $(pwd)"
|
||||
- echo "Source dir: $CI_WORKSPACE"
|
||||
- find . -type f | head -n 20
|
||||
- name: deploy
|
||||
image: appleboy/drone-ssh
|
||||
settings:
|
||||
@@ -7,7 +15,7 @@ steps:
|
||||
key:
|
||||
from_secret: SSH_PRIVATE_KEY
|
||||
script:
|
||||
- rsync -av ./ /opt/testbot-git/
|
||||
- rsync -av $CI_WORKSPACE/ /opt/testbot-git/
|
||||
when:
|
||||
event: push
|
||||
branch: main
|
||||
|
||||
Reference in New Issue
Block a user