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