From 24e5399f19b849dca18dff93bd4fa0b8b08013df Mon Sep 17 00:00:00 2001 From: istarkov Date: Fri, 19 Apr 2024 11:51:05 +0300 Subject: [PATCH] Fix --- .github/workflows/cli-r2.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/cli-r2.yaml b/.github/workflows/cli-r2.yaml index 146a44eb46d5..3641f4ebe6b7 100644 --- a/.github/workflows/cli-r2.yaml +++ b/.github/workflows/cli-r2.yaml @@ -62,7 +62,7 @@ jobs: - name: Copy artifact run: | - curl https://rclone.org/install.sh | bash + curl https://rclone.org/install.sh | sudo bash # For staging rclone copy -P -M \ @@ -100,7 +100,7 @@ jobs: node-version: "18.x" - name: Copy atrifact via http - run: curl -o cloudlfare-template.tar.zst https://pub-b6187a0708c7470fa0b77502cc450dcc.r2.dev/public/cloudlfare-template/${{ github.ref_name }}.tar.zst + run: curl -o cloudlfare-template.tar.zst ${{ secrets.ARTEFACT_BUCKET_URL }}/public/cloudlfare-template/${{ github.ref_name }}.tar.zst - name: Extract archive run: tar --use-compress-program="zstd -d" -xf cloudlfare-template.tar.zst -C .