Skip to content

Commit

Permalink
ci: push release to R2 versions folder for backup version
Browse files Browse the repository at this point in the history
  • Loading branch information
erguotou520 committed Apr 26, 2024
1 parent caa9a2f commit ededd31
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/build-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,13 @@ jobs:
r2-bucket: fb-bin
source-dir: release
destination-dir: ./prod
- name: R2 Upload Action
uses: ryand56/r2-upload-action@latest
with:
r2-account-id: ${{ secrets.R2_ACCOUNT_ID }}
r2-access-key-id: ${{ secrets.R2_ACCESS_KEY_ID }}
r2-secret-access-key: ${{ secrets.R2_SECRET_ACCESS_KEY }}
r2-bucket: fb-bin
source-dir: release
destination-dir: ./versions/${{ env.FB_VERSION }}

0 comments on commit ededd31

Please sign in to comment.