feat(ci): optimize ci deployment

This commit is contained in:
2024-04-07 23:02:55 +02:00
parent 46d2770fe7
commit 4f64192d4e

View File

@@ -70,6 +70,7 @@ jobs:
- name: 🚀 Deploy Changed Files via rclone
run: |
rclone sync --update -v --progress --stats 5s --stats-one-line ./dist/ sftp-remote:${REMOTE_DIR} --transfers 4
rclone sync --update -v --progress --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
env:
REMOTE_DIR: ${{ vars.REMOTE_DIR }}