This commit is contained in:
albert 2024-11-03 12:25:03 +01:00
parent 4017cced6f
commit 06e2412e8a
Signed by: albert
GPG key ID: 3895DD267CA11BA9

View file

@ -28,7 +28,7 @@ jobs:
id
cat /etc/resolv.conf
- name: "Setup: Runner"
- name: "Setup: Runner"
run: |
apt update -y
apt install git nodejs nix-bin sudo sudo curl -y
@ -44,7 +44,7 @@ jobs:
apt update -y
apt install tailscale -y
- name: "Setup: SSH"
- name: "Setup: SSH"
run: |
rm -rf /root/.ssh
mkdir /root/.ssh
@ -103,18 +103,18 @@ jobs:
tailscale down
- if: success()
uses: https://git.sysctl.io/actions/gotify-action@master
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 }} ] Steam Deck Updated'
notification_message: 'Deployment completed successfully.'
name: "Send Notification - Success"
name: "Send Notification - Success"
- if: failure()
uses: https://git.sysctl.io/actions/gotify-action@master
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 - Failure"
name: "Send Notification - Failure"