Refactor Steambird upload script to use environment variable for TUS_USER

This commit is contained in:
辉鸭蛋
2025-08-21 23:18:58 +08:00
parent f63a4bc84f
commit 9ba4b70e76

View File

@@ -587,9 +587,10 @@ jobs:
- name: Upload to Steambird
env:
TUS_USER: "bgi"
TUS_PASS: ${{ secrets.TUS_PASS }}
run: |
wget https://uploads.steambird.pub/upload.sh
chmod +x upload.sh
TUS_USER="bgi" TUS_PASS="$TUS_PASS" ./upload.sh https://uploads.steambird.pub/dav/bgi/ upload_files/BetterGI.Install.*.exe
./upload.sh https://uploads.steambird.pub/dav/bgi/ upload_files/BetterGI.Install.*.exe