Skip to content

Commit f3c58cd

Browse files
committed
wait
1 parent 86e98e0 commit f3c58cd

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/build_and_deploy.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -447,15 +447,16 @@ jobs:
447447
name: staging
448448
url: https://${{ vars.DOMAIN_NAME }}
449449
steps:
450+
- name: Wait
451+
run: |
452+
sleep 10
450453
- name: Checkout
451454
uses: actions/checkout@v5
452455

453456
- name: Update Release
454457
env:
455458
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
456459
run: |
457-
# Wait a few seconds to ensure the release exists
458-
sleep 10
459460
# Check if the release exists
460461
if gh release view $${{ needs.Generate-tag.outputs.tag }} >/dev/null 2>&1; then
461462
echo "Release ${{ needs.Generate-tag.outputs.tag }} found, updating with staging deployment info..."

0 commit comments

Comments
 (0)