File tree Expand file tree Collapse file tree 2 files changed +16
-26
lines changed Expand file tree Collapse file tree 2 files changed +16
-26
lines changed Original file line number Diff line number Diff line change @@ -145,20 +145,15 @@ jobs:
145
145
timestamp-rfc3161 : http://timestamp.acs.microsoft.com
146
146
timestamp-digest : SHA256
147
147
148
- - name : Login to Azure
149
- uses : azure/login@v2
148
+ - name : Upload packages to Cloudflare
149
+ uses : ryand56/r2-upload-action@latest
150
150
with :
151
- creds : ${{ secrets.AZURE_CREDENTIALS }}
152
-
153
- - name : Upload to Azure blob storage
154
- uses : azure/powershell@v2
155
- with :
156
- inlineScript : |
157
- az storage blob upload-batch --account-name "filescommunity" --destination "files" --destination-path "preview" --source ${{ env.APPX_PACKAGE_DIR }} --overwrite true
158
- azPSVersion : " latest"
159
-
160
- - name : Logout from Azure
161
- run : ' az logout'
151
+ r2-account-id : ${{ secrets.R2_ACCOUNT_ID }}
152
+ r2-access-key-id : ${{ secrets.R2_ACCESS_KEY_ID }}
153
+ r2-secret-access-key : ${{ secrets.R2_SECRET_ACCESS_KEY }}
154
+ r2-bucket : ${{ secrets.R2_BUCKET }}
155
+ source-dir : ${{ env.APPX_PACKAGE_DIR }}
156
+ destination-dir : ./preview
162
157
163
158
- name : Upload the packages to GitHub Actions
164
159
uses : actions/upload-artifact@v4
Original file line number Diff line number Diff line change @@ -145,20 +145,15 @@ jobs:
145
145
timestamp-rfc3161 : http://timestamp.acs.microsoft.com
146
146
timestamp-digest : SHA256
147
147
148
- - name : Login to Azure
149
- uses : azure/login@v2
148
+ - name : Upload packages to Cloudflare
149
+ uses : ryand56/r2-upload-action@latest
150
150
with :
151
- creds : ${{ secrets.AZURE_CREDENTIALS }}
152
-
153
- - name : Upload to Azure blob storage
154
- uses : azure/powershell@v2
155
- with :
156
- inlineScript : |
157
- az storage blob upload-batch --account-name "filescommunity" --destination "files" --destination-path "stable" --source ${{ env.APPX_PACKAGE_DIR }} --overwrite true
158
- azPSVersion : " latest"
159
-
160
- - name : Logout from Azure
161
- run : ' az logout'
151
+ r2-account-id : ${{ secrets.R2_ACCOUNT_ID }}
152
+ r2-access-key-id : ${{ secrets.R2_ACCESS_KEY_ID }}
153
+ r2-secret-access-key : ${{ secrets.R2_SECRET_ACCESS_KEY }}
154
+ r2-bucket : ${{ secrets.R2_BUCKET }}
155
+ source-dir : ${{ env.APPX_PACKAGE_DIR }}
156
+ destination-dir : ./stable
162
157
163
158
- name : Upload the packages to GitHub Actions
164
159
uses : actions/upload-artifact@v4
You can’t perform that action at this time.
0 commit comments