Skip to content

Commit 8353826

Browse files
committed
Don't sync, but copy the static assets
1 parent 520f4ff commit 8353826

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.drone.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ steps:
2323
commands:
2424
- apt update && apt install -y rclone openssh-client
2525
- rclone config create api sftp host $ssh_host user $ssh_user pass $ssh_password port 22 use_insecure_cipher true disable_hashcheck true
26-
- rclone sync ./build/ api:/home/api/public_html -v --exclude "cms-2.5" --exclude "cms-3" --exclude "cms-4" --exclude "framework-1" --exclude "framework-2"
26+
- rclone copy ./build/ api:/home/api/public_html -v
2727

2828
trigger:
2929
branch:
@@ -45,6 +45,10 @@ steps:
4545
if [ "$JTYPE" = "framework" ]; then
4646
exit 0
4747
fi
48+
- |
49+
if [ "$JTYPE" = "cms" ]; then
50+
exit 0
51+
fi
4852
- echo "JTYPE parameter is missing. Allowed values [framework, cms]"
4953
- exit 1
5054

@@ -120,6 +124,6 @@ trigger:
120124

121125
---
122126
kind: signature
123-
hmac: 5b71082bf6335a04e8852a4231b1991fad92ddc6e5492e8b1e83b28bc4192f9f
127+
hmac: 11f8a5c1e97ebecf0c8c666e75df86e84b72e6d9886a4f5139df8cbc6aa52f2d
124128

125129
...

0 commit comments

Comments
 (0)