From b0bc1f85370c375bdf463dd6a3c4addf1ea93a80 Mon Sep 17 00:00:00 2001 From: Valeriy Zainullin Date: Sat, 25 Nov 2023 15:59:42 +0300 Subject: [PATCH] Please tell me what's wrong with CI.. --- .github/workflows/build.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 358ab01c..4eda8120 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -81,11 +81,11 @@ jobs: - name: Upload id: upload run: | - URL=$(curl -f --silent --get \ + curl --get \ --data-urlencode 'path=Lectures Tex Club/${{ env.FULL_PATH }}.pdf' \ --data-urlencode 'overwrite=true' \ --header 'Authorization: ${{ secrets.YANDEX_OAUTH_TOKEN }}' \ - 'https://cloud-api.yandex.net/v1/disk/resources/upload' | jq -r '.["href"]') + 'https://cloud-api.yandex.net/v1/disk/resources/upload' curl -f --silent -X PUT --data-binary '@build/main.pdf' \ --header 'Authorization: ${{ secrets.YANDEX_OAUTH_TOKEN }}' ${URL}