Skip to content

Commit

Permalink
Remove comment delete -- don't want multiple notifications
Browse files Browse the repository at this point in the history
  • Loading branch information
wesley-dean-gsa committed Nov 19, 2024
1 parent d4b5a6d commit 7c882d3
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions .github/workflows/preview_button.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ on:
pull_request:
workflow_dispatch:


permissions: read-all

concurrency:
Expand Down Expand Up @@ -49,11 +48,8 @@ jobs:
fi
) >> "$GITHUB_OUTPUT"
- name: Delete a comment
uses: thollander/actions-comment-pull-request@24bffb9b452ba05a4f3f77933840a6a841d1b32b # pin@v3
with:
comment-tag: button
mode: delete
- name: Delay while the preview URL is built
run: "sleep ${{ steps.customvars.outputs.DELAY_SECONDS }}"

- name: Wait for site to render
run: curl --retry-delay 10 --retry 18 --retry-all-errors -f -X HEAD -s -o /dev/null "${{ steps.customvars.outputs.BASE_URL }}${{ steps.customvars.outputs.URL_PATH }}"
Expand Down

0 comments on commit 7c882d3

Please sign in to comment.