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"
|
echo "nixos-Version"
|
||||||
nixos-version
|
nixos-version
|
||||||
|
|
||||||
- if: always()
|
- if: success()
|
||||||
uses: https://git.sysctl.io/actions/gotify-action@master
|
uses: https://git.sysctl.io/actions/gotify-action@master
|
||||||
with:
|
with:
|
||||||
gotify_api_base: '${{ secrets.GOTIFY_URL }}'
|
gotify_api_base: '${{ secrets.GOTIFY_URL }}'
|
||||||
gotify_app_token: '${{ secrets.GOTIFY_TOKEN }}'
|
gotify_app_token: '${{ secrets.GOTIFY_TOKEN }}'
|
||||||
notification_title: '[ ${{ github.repository }}: ${{ github.workflow }} ] Build Complete'
|
notification_title: '[ ${{ github.repository }}: ${{ github.workflow }} ] NixOS Deployed'
|
||||||
notification_message: 'Your build has completed.'
|
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"
|
name: "Send Notification"
|
Loading…
Reference in a new issue