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

This commit is contained in:
max_richter 2024-04-08 21:00:18 +02:00
parent f1c6bfdf87
commit f9c5d4c421

View File

@ -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 }}