File tree 1 file changed +20
-3
lines changed
1 file changed +20
-3
lines changed Original file line number Diff line number Diff line change @@ -418,11 +418,28 @@ 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/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 : ${{ env.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
+
421
441
- name : Upload playground compiler to CDN
422
442
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
443
run : yarn workspace playground upload-bundle
427
444
428
445
- name : " Upload artifacts: binaries"
You can’t perform that action at this time.
0 commit comments