fix(ci): wront rclone exlude param
Deploy to SFTP Server / build (push) Successful in 7m28s Details

This commit is contained in:
max_richter 2024-04-08 21:00:18 +02:00
parent f1c6bfdf87
commit f9c5d4c421
1 changed files with 3 additions and 1 deletions

View File

@ -70,7 +70,9 @@ jobs:
- name: 🚀 Deploy Changed Files via rclone
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 --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:
REMOTE_DIR: ${{ vars.REMOTE_DIR }}