mirror of
https://github.com/DOI-DO/j40-cejst-2.git
synced 2025-02-23 10:04:18 -08:00
Update main.yml (#704)
Update name of workflow and only send slack notification on failure
This commit is contained in:
parent
c457ba85db
commit
75c261fc3d
1 changed files with 2 additions and 2 deletions
4
.github/workflows/main.yml
vendored
4
.github/workflows/main.yml
vendored
|
@ -1,5 +1,5 @@
|
||||||
# .github/workflows/ping-test.yml
|
# .github/workflows/ping-test.yml
|
||||||
name: Trigger Run of site ping test
|
name: Site ping test
|
||||||
on:
|
on:
|
||||||
# https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions
|
# https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions
|
||||||
schedule:
|
schedule:
|
||||||
|
@ -26,7 +26,7 @@ jobs:
|
||||||
site: "https://d2zjid6n5ja2pt.cloudfront.net/justice40-tool/main/en/"
|
site: "https://d2zjid6n5ja2pt.cloudfront.net/justice40-tool/main/en/"
|
||||||
# https://www.ravsam.in/blog/send-slack-notification-when-github-actions-fails/
|
# https://www.ravsam.in/blog/send-slack-notification-when-github-actions-fails/
|
||||||
- uses: ravsamhq/notify-slack-action@v1
|
- uses: ravsamhq/notify-slack-action@v1
|
||||||
if: always()
|
if: ${{ failure() }}
|
||||||
with:
|
with:
|
||||||
status: ${{ job.status }}
|
status: ${{ job.status }}
|
||||||
env:
|
env:
|
||||||
|
|
Loading…
Add table
Reference in a new issue