Update
This commit is contained in:
parent
9e08888f95
commit
683d67ccff
1 changed files with 10 additions and 3 deletions
|
@ -48,11 +48,18 @@ jobs:
|
|||
echo "nixos-Version"
|
||||
nixos-version
|
||||
|
||||
- if: always()
|
||||
- if: success()
|
||||
uses: https://git.sysctl.io/actions/gotify-action@master
|
||||
with:
|
||||
gotify_api_base: '${{ secrets.GOTIFY_URL }}'
|
||||
gotify_app_token: '${{ secrets.GOTIFY_TOKEN }}'
|
||||
notification_title: '[ ${{ github.repository }}: ${{ github.workflow }} ] Build Complete'
|
||||
notification_message: 'Your build has completed.'
|
||||
notification_title: '[ ${{ github.repository }}: ${{ github.workflow }} ] NixOS Deployed'
|
||||
notification_message: 'Deployment completed successfully.'
|
||||
- if: failure()
|
||||
uses: https://git.sysctl.io/actions/gotify-action@master
|
||||
with:
|
||||
gotify_api_base: '${{ secrets.GOTIFY_URL }}'
|
||||
gotify_app_token: '${{ secrets.GOTIFY_TOKEN }}'
|
||||
notification_title: '[ ${{ github.repository }}: ${{ github.workflow }} ] Deployment Failed'
|
||||
notification_message: 'Your deployment has failed. Check Forgejo.'
|
||||
name: "Send Notification"
|
Loading…
Reference in a new issue