Skip to content

Commit

Permalink
fixed GH workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
uguraslan authored Nov 26, 2024
1 parent e46a952 commit ac1d664
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/deploy-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@ jobs:
- name: Trigger Deployment
timeout-minutes: 5
run: |
response=$(curl -X POST -w "%{http_code}" -s -o /dev/null \
response=$(curl -X POST -d {} -H "Content-Type:application/json" -w "%{http_code}" -s -o /dev/null \
--max-time 30 \
--connect-timeout 10 \
--retry 2 \
--retry-delay 5 \
${{ secrets.WEBSITE_DEPLOY_URL }})
"${{ secrets.WEBSITE_DEPLOY_URL }}")
if [ "$response" -ge 200 ] && [ "$response" -lt 300 ]; then
echo "Deployment triggered successfully"
else
Expand Down

0 comments on commit ac1d664

Please sign in to comment.