From 1b650c082c2579a25dcbf9268efad28cd6e9981b Mon Sep 17 00:00:00 2001 From: Tianling Shen Date: Sun, 13 Aug 2023 12:44:47 +0800 Subject: [PATCH] CI: upload sources to SourceForge Signed-off-by: Tianling Shen --- .github/workflows/update-mirror.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/update-mirror.yml b/.github/workflows/update-mirror.yml index baf598d..c61ac40 100644 --- a/.github/workflows/update-mirror.yml +++ b/.github/workflows/update-mirror.yml @@ -71,15 +71,15 @@ jobs: find 'immortalwrt/dl/' -maxdepth 1 -type f -not -size 0 -not -name '.*' -not -name '*.hash' -not -name '*.dl' -printf '%f\n' > 'sourcelist' rsync --files-from="sourcelist" --size-only --delay-updates --partial-dir=".~tmp~$GITHUB_RUN_ID" -ahv "immortalwrt/dl/" "rsync://${RSYNC_USER}@${RSYNC_ADDR}/dl/" - - name: Upload Files to OSDN + - name: Upload Files to SourceForge uses: Pendect/action-rsyncer@9738db02560c333bf629a1533bd86ceda138e599 with: flags: '-ahv' - options: '--files-from=sourcelist --size-only --delay-updates --partial-dir=.~tmp~${{ env.GITHUB_RUN_ID }}' + options: '--files-from=sourcelist --size-only' src: 'immortalwrt/dl/' - dest: '${{ secrets.OSDN_USER }}@storage.osdn.net:/storage/groups/i/im/immortalwrt/sources/' + dest: '${{ secrets.SF_USER }}@frs.sourceforge.net:/home/frs/project/immortalwrt/sources/' env: - DEPLOY_KEY: ${{ secrets.OSDN_KEY }} + DEPLOY_KEY: ${{ secrets.SF_KEY }} - name: Upload Files to OneDrive env: