debug for wp
This commit is contained in:
+9
-1
@@ -1,4 +1,12 @@
|
|||||||
steps:
|
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
|
- name: deploy
|
||||||
image: appleboy/drone-ssh
|
image: appleboy/drone-ssh
|
||||||
settings:
|
settings:
|
||||||
@@ -7,7 +15,7 @@ steps:
|
|||||||
key:
|
key:
|
||||||
from_secret: SSH_PRIVATE_KEY
|
from_secret: SSH_PRIVATE_KEY
|
||||||
script:
|
script:
|
||||||
- rsync -av ./ /opt/testbot-git/
|
- rsync -av $CI_WORKSPACE/ /opt/testbot-git/
|
||||||
when:
|
when:
|
||||||
event: push
|
event: push
|
||||||
branch: main
|
branch: main
|
||||||
|
|||||||
Reference in New Issue
Block a user