Skip to content

Commit

Permalink
Please tell me what's wrong with CI..
Browse files Browse the repository at this point in the history
  • Loading branch information
valeriy-zainullin committed Nov 25, 2023
1 parent 4e0fb0c commit b0bc1f8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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}

0 comments on commit b0bc1f8

Please sign in to comment.