diff --git a/.forgejo/workflows/deploy-rs.yml b/.forgejo/workflows/deploy-rs.yml index f031d934..dcce013e 100644 --- a/.forgejo/workflows/deploy-rs.yml +++ b/.forgejo/workflows/deploy-rs.yml @@ -55,6 +55,7 @@ jobs: gotify_app_token: '${{ secrets.GOTIFY_TOKEN }}' notification_title: '[ ${{ github.repository }}: ${{ github.workflow }} ] NixOS Deployed' notification_message: 'Deployment completed successfully.' + name: "Send Notification - Success" - if: failure() uses: https://git.sysctl.io/actions/gotify-action@master with: @@ -62,4 +63,4 @@ jobs: 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" \ No newline at end of file + name: "Send Notification - Failure" \ No newline at end of file