Skip to content

Commit

Permalink
Update entrypoint.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
HidetoNiwa authored Jan 27, 2022
1 parent 19e4fb3 commit 2e9552d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/actions/latex/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,6 @@ file_path="./main.pdf"

ls -la

response=$(curl -X POST -H "Content-Type: $(file -b --mime-type $file_path)"\
response=$(curl -X POST -H "Content-Type: application/pdf"\
-H "Authorization: token $GITHUB_TOKEN" --data-binary @$file_path \
"https://uploads.github.com/repos/$GITHUB_REPOSITORY/releases/$release_id/assets?name=$(basename $file_path)")

0 comments on commit 2e9552d

Please sign in to comment.