Former-commit-id: fbb3fb7bf3d635f47fc775a1c11a897ebb515317
This commit is contained in:
troyeguo
2024-01-13 14:07:29 +08:00
parent 8cdc240d52
commit 9dbdb0d7ed
2 changed files with 4 additions and 7 deletions

View File

@@ -12,11 +12,10 @@ jobs:
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Checkout code
uses: actions/checkout@v2
- name: Run custom script
run: |
cp src/upload.sh upload.sh
curl -O https://raw.githubusercontent.com/koodo-reader/koodo-reader/master/src/upload.sh
chmod +x ./upload.sh
./upload.sh ${{ secrets.B2_ACCOUNT_ID }} ${{ secrets.B2_APPLICATION_KEY }} ${{ secrets.R2_ACCOUNT_ID }} ${{ secrets.R2_APPLICATION_KEY }} ${{ secrets.R2_ENDPOINT }} v1.6.2
./upload.sh ${{ secrets.B2_ACCOUNT_ID }} ${{ secrets.B2_APPLICATION_KEY }} ${{ secrets.R2_ACCOUNT_ID }} ${{ secrets.R2_APPLICATION_KEY }} ${{ secrets.R2_ENDPOINT }}
shell: bash