Skip to content

Commit

Permalink
fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
troyeguo committed Jan 13, 2024
1 parent 445f699 commit 2475725
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/upload.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,5 @@ jobs:
run: |
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 }}
./upload.sh ${{ secrets.B2_ACCOUNT_ID }} ${{ secrets.B2_APPLICATION_KEY }} ${{ secrets.R2_ACCOUNT_ID }} ${{ secrets.R2_APPLICATION_KEY }} ${{ secrets.R2_ENDPOINT }} v1.6.2
shell: bash
3 changes: 2 additions & 1 deletion src/upload.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# GitHub repo details
USER="koodo-reader"
REPO="koodo-reader"
TAG="v1.6.2"


# Backblaze details
BUCKET="koodo-reader"
Expand All @@ -12,6 +12,7 @@ B2_APPLICATION_KEY=$2
R2_ACCOUNT_ID=$3
R2_APPLICATION_KEY=$4
R2_ENDPOINT=$5
TAG=$6

# Create a directory with the name of the tag
mkdir -p $TAG
Expand Down

0 comments on commit 2475725

Please sign in to comment.