Update
Some checks failed
deploy-rs / deploy-rs (push) Failing after 0s
ssh-test / ssh-test (push) Successful in 24s

This commit is contained in:
iFargle 2023-12-25 11:34:04 +09:00
parent 9e08888f95
commit 683d67ccff

View file

@ -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"