File tree Expand file tree Collapse file tree 1 file changed +20
-3
lines changed Expand file tree Collapse file tree 1 file changed +20
-3
lines changed Original file line number Diff line number Diff line change @@ -418,11 +418,28 @@ jobs:
418418 if : matrix.build_playground
419419 run : yarn workspace playground test
420420
421+ - name : Setup Rclone
422+ # if: ${{ matrix.build_playground && startsWith(github.ref, 'refs/tags/v') }}
423+ uses : cometkim/rclone-actions/setup-rclone@cab9535d853695b38b25c84e069c5d8a261267e4
424+
425+ - name : Configure Rclone remote
426+ # if: ${{ matrix.build_playground && startsWith(github.ref, 'refs/tags/v') }}
427+ uses : cometkim/rclone-actions/configure-remote/s3@cab9535d853695b38b25c84e069c5d8a261267e4
428+ with :
429+ name : rescript
430+ provider : Cloudflare
431+ endpoint : ${{ vars.CLOUDFLARE_ACCOUNT_ID }}.r2.cloudflarestorage.com
432+ access-key-id : ${{ secrets.CLOUDFLARE_R2_ACCESS_KEY_ID }}
433+ secret-access-key : ${{ secrets.CLOUDFLARE_R2_SECRET_ACCESS_KEY }}
434+ acl : private
435+
436+ - name : Test rclone access
437+ shell : bash
438+ run : |
439+ rclone ls rescript:cdn-assets/
440+
421441 - name : Upload playground compiler to CDN
422442 if : ${{ matrix.build_playground && startsWith(github.ref, 'refs/tags/v') }}
423- env :
424- KEYCDN_USER : ${{ secrets.KEYCDN_USER }}
425- KEYCDN_PASSWORD : ${{ secrets.KEYCDN_PASSWORD }}
426443 run : yarn workspace playground upload-bundle
427444
428445 - name : " Upload artifacts: binaries"
You can’t perform that action at this time.
0 commit comments