Skip to content

Commit

Permalink
Remove wait
Browse files Browse the repository at this point in the history
  • Loading branch information
erxclau committed Nov 11, 2024
1 parent f9b3977 commit 51b53ce
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions .github/workflows/deploy-to-staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,15 +53,15 @@ jobs:
BRANCH: gh-pages
FOLDER: _site
CLEAN: true
- name: Waiting 4 minutes for staging data deployment
run: |
sleep 240
- name: Rebuild site
run: |
curl -L \
-X POST \
-H "Accept: application/vnd.github+json" \
-H "Authorization: Bearer ${{ secrets.token }}"\
-H "X-GitHub-Api-Version: 2022-11-28" \
https://api.github.com/repos/STAGING_ORGANISATION/STAGING_SITE_REPOSITORY/actions/workflows/deploy-to-staging.yml/dispatches \
-d '{"ref":"develop"}'
# - name: Waiting 4 minutes for staging data deployment
# run: |
# sleep 240
# - name: Rebuild site
# run: |
# curl -L \
# -X POST \
# -H "Accept: application/vnd.github+json" \
# -H "Authorization: Bearer ${{ secrets.token }}"\
# -H "X-GitHub-Api-Version: 2022-11-28" \
# https://api.github.com/repos/STAGING_ORGANISATION/STAGING_SITE_REPOSITORY/actions/workflows/deploy-to-staging.yml/dispatches \
# -d '{"ref":"develop"}'

0 comments on commit 51b53ce

Please sign in to comment.