Skip to content
This repository has been archived by the owner on Jul 26, 2024. It is now read-only.

Commit

Permalink
Update github actions. Add slack notifications
Browse files Browse the repository at this point in the history
  • Loading branch information
MaximPlusov authored Feb 5, 2024
1 parent 172df99 commit e7ec920
Showing 1 changed file with 21 additions and 1 deletion.
22 changes: 21 additions & 1 deletion .github/workflows/veraPDF_WebApp_CI_with_Maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ name: Java CI with Maven for veraPDF WebApp

on:
schedule:
- cron: "05 02 * * 1"
- cron: "05 09 * * 1"
push:
branches: [ "master" ]
# pull_request:
Expand Down Expand Up @@ -61,3 +61,23 @@ jobs:
with:
name: Results
path: "./target"

- name: Notify slack tests succeded
if: success()
env:
SLACK_BOT_TOKEN: ${{ secrets.SLACK_NOTIFICATIONS_BOT_TOKEN }}
uses: voxmedia/github-action-slack-notify-build@v1
with:
channel_id: C03E3JJGLQL
status: SUCCESS
color: good

- name: Notify slack tests failed
if: failure()
env:
SLACK_BOT_TOKEN: ${{ secrets.SLACK_NOTIFICATIONS_BOT_TOKEN }}
uses: voxmedia/github-action-slack-notify-build@v1
with:
channel_id: C03E3JJGLQL
status: FAILED
color: danger

0 comments on commit e7ec920

Please sign in to comment.