From f9c5d4c421a4445c4054557d4c9faf705b095186 Mon Sep 17 00:00:00 2001 From: Max Richter Date: Mon, 8 Apr 2024 21:00:18 +0200 Subject: [PATCH] fix(ci): wront rclone exlude param --- .github/workflows/default.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/default.yaml b/.github/workflows/default.yaml index 911fc7e..6b137ba 100644 --- a/.github/workflows/default.yaml +++ b/.github/workflows/default.yaml @@ -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 }}