fix(ci): wront rclone exlude param
All checks were successful
Deploy to SFTP Server / build (push) Successful in 7m28s
All checks were successful
Deploy to SFTP Server / build (push) Successful in 7m28s
This commit is contained in:
parent
f1c6bfdf87
commit
f9c5d4c421
4
.github/workflows/default.yaml
vendored
4
.github/workflows/default.yaml
vendored
@ -70,7 +70,9 @@ jobs:
|
|||||||
|
|
||||||
- name: 🚀 Deploy Changed Files via rclone
|
- name: 🚀 Deploy Changed Files via rclone
|
||||||
run: |
|
run: |
|
||||||
|
echo "Uploading _astro assets"
|
||||||
rclone sync --update -v --progress --size-only --stats 2s --stats-one-line ./dist/_astro sftp-remote:${REMOTE_DIR}/_astro --transfers 4
|
rclone sync --update -v --progress --size-only --stats 2s --stats-one-line ./dist/_astro sftp-remote:${REMOTE_DIR}/_astro --transfers 4
|
||||||
rclone sync --update -v --progress --exclude _astro --stats 2s --stats-one-line ./dist/ sftp-remote:${REMOTE_DIR} --transfers 4
|
echo "Uploading the rest"
|
||||||
|
rclone sync --update -v --progress --exclude _astro/** --stats 2s --stats-one-line ./dist/ sftp-remote:${REMOTE_DIR} --transfers 4
|
||||||
env:
|
env:
|
||||||
REMOTE_DIR: ${{ vars.REMOTE_DIR }}
|
REMOTE_DIR: ${{ vars.REMOTE_DIR }}
|
||||||
|
Loading…
Reference in New Issue
Block a user