mirror of
https://github.com/DOI-DO/j40-cejst-2.git
synced 2025-02-22 09:41:26 -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
|
||||
name: Trigger Run of site ping test
|
||||
name: Site ping test
|
||||
on:
|
||||
# https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions
|
||||
schedule:
|
||||
|
@ -26,7 +26,7 @@ jobs:
|
|||
site: "https://d2zjid6n5ja2pt.cloudfront.net/justice40-tool/main/en/"
|
||||
# https://www.ravsam.in/blog/send-slack-notification-when-github-actions-fails/
|
||||
- uses: ravsamhq/notify-slack-action@v1
|
||||
if: always()
|
||||
if: ${{ failure() }}
|
||||
with:
|
||||
status: ${{ job.status }}
|
||||
env:
|
||||
|
|
Loading…
Add table
Reference in a new issue