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 @@ -396,11 +396,28 @@ jobs:
396396 if : matrix.build_playground
397397 run : yarn workspace playground test
398398
399+ - name : Setup Rclone
400+ # if: ${{ matrix.build_playground && startsWith(github.ref, 'refs/tags/v') }}
401+ uses : cometkim/rclone-actions/setup-rclone@cab9535d853695b38b25c84e069c5d8a261267e4
402+
403+ - name : Configure Rclone remote
404+ # if: ${{ matrix.build_playground && startsWith(github.ref, 'refs/tags/v') }}
405+ uses : cometkim/rclone-actions/configure-remote/s3@cab9535d853695b38b25c84e069c5d8a261267e4
406+ with :
407+ name : rescript
408+ provider : Cloudflare
409+ endpoint : ${{ vars.CLOUDFLARE_ACCOUNT_ID }}.r2.cloudflarestorage.com
410+ access-key-id : ${{ secrets.CLOUDFLARE_R2_ACCESS_KEY_ID }}
411+ secret-access-key : ${{ secrets.CLOUDFLARE_R2_SECRET_ACCESS_KEY }}
412+ acl : private
413+
414+ - name : Test rclone access
415+ shell : bash
416+ run : |
417+ rclone ls rescript:cdn-assets/
418+
399419 - name : Upload playground compiler to CDN
400420 if : ${{ matrix.build_playground && startsWith(github.ref, 'refs/tags/v') }}
401- env :
402- KEYCDN_USER : ${{ secrets.KEYCDN_USER }}
403- KEYCDN_PASSWORD : ${{ secrets.KEYCDN_PASSWORD }}
404421 run : yarn workspace playground upload-bundle
405422
406423 - name : " Upload artifacts: binaries"
You can’t perform that action at this time.
0 commit comments