Skip to content

Commit

Permalink
CI: upload sources to SourceForge
Browse files Browse the repository at this point in the history
Signed-off-by: Tianling Shen <[email protected]>
  • Loading branch information
1715173329 committed Aug 14, 2023
1 parent aeb5434 commit 1b650c0
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/update-mirror.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 1b650c0

Please sign in to comment.