Skip to content

Commit

Permalink
temp: f to r2
Browse files Browse the repository at this point in the history
Signed-off-by: Attila Szakacs <[email protected]>
  • Loading branch information
alltilla committed May 18, 2024
1 parent f6c1811 commit c234739
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/nightly-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ jobs:
secrets:
r2-access-key: ${{ secrets.R2_ACCESS_KEY }}
r2-secret-key: ${{ secrets.R2_SECRET_KEY }}
r2-zone-id: ${{ secrets.R2_ZONE_ID }}
r2-account-id: ${{ secrets.R2_ACCOUNT_ID }}

index-packages:
needs: upload-packages
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/upload-packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ on:
required: true
r2-secret-key:
required: true
r2-zone-id:
r2-account-id:
required: true


Expand Down Expand Up @@ -55,7 +55,7 @@ jobs:
export AWS_SECRET_ACCESS_KEY='${{ secrets.r2-secret-key }}'
find . -type f -exec \
aws s3api put-object \
--endpoint-url https://${{ secrets.r2_zone-id }}.r2.cloudflarestorage.com \
--endpoint-url https://${{ secrets.r2-account-id }}.r2.cloudflarestorage.com \
--bucket axosyslog-apt-incoming \
--key ${{ inputs.pkg-type }}/${{ github.run_id }}/{} \
--body {} \;

0 comments on commit c234739

Please sign in to comment.