Skip to content

Commit

Permalink
Update compile.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
DragonAura authored Mar 23, 2024
1 parent ed8a892 commit 492e823
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dependency/shell/compile.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ else
fi

if [ $flag -eq 1 ]; then
curl $URL -X PUT -H "Content-Type: application/json" -H "Authorization: Bearer $TOKEN" -d '{"compile_status":"compiled"}' > $bind/curl_log.txt
curl $URL -X POST -H "Content-Type: application/json" -H "Authorization: Bearer $TOKEN" -d '{"compile_status":"compiled"}' > $bind/curl_log.txt
else
curl $URL -X PUT -H "Content-Type: application/json" -H "Authorization: Bearer $TOKEN" -d '{"compile_status":"failed"}' > $bind/curl_log.txt
curl $URL -X POST -H "Content-Type: application/json" -H "Authorization: Bearer $TOKEN" -d '{"compile_status":"failed"}' > $bind/curl_log.txt
fi

0 comments on commit 492e823

Please sign in to comment.