Skip to content

Commit c3c5bf8

Browse files
committed
fix(build): add --remote flag to r2 object put commands for proper file upload
1 parent 118dff1 commit c3c5bf8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -293,8 +293,8 @@ jobs:
293293
apiToken: ${{ secrets.CF_R2_API_TOKEN }}
294294
wranglerVersion: "4.21.1"
295295
command: |
296-
r2 object put nginx-ui-dev-build/${{ env.DIST }}.tar.gz --file ./${{ env.DIST }}.tar.gz
297-
r2 object put nginx-ui-dev-build/${{ env.DIST }}.tar.gz.digest --file ./${{ env.DIST }}.tar.gz.digest
296+
r2 object put nginx-ui-dev-build/${{ env.DIST }}.tar.gz --file ./${{ env.DIST }}.tar.gz --remote
297+
r2 object put nginx-ui-dev-build/${{ env.DIST }}.tar.gz.digest --file ./${{ env.DIST }}.tar.gz.digest --remote
298298
299299
docker-build:
300300
if: github.event_name != 'pull_request'

0 commit comments

Comments
 (0)