We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f819a89 commit 4a3d2cdCopy full SHA for 4a3d2cd
.drone.yml
@@ -30,14 +30,16 @@ steps:
30
- chmod 600 ~/.ssh/id_rsa
31
- ssh-add
32
- rclone config create server sftp host $developer_host user $sftp_user port 22
33
- - rclone -v sync build server:public_html
+ - [ -z "$${DRONE_PULL_REQUEST}" ] && export TARGET=public_html || export TARGET=wildcard.manual.joomlacode.org/sites/pr-$${DRONE_PULL_REQUEST}
34
+ - rclone --dry-run -v sync build server:$TARGET
35
when:
36
branch:
37
- main
38
status:
39
- success
40
event:
41
- push
42
+ - pull_request
43
44
---
45
kind: signature
0 commit comments