testing
This commit is contained in:
parent
4017cced6f
commit
06e2412e8a
1 changed files with 18 additions and 18 deletions
|
@ -28,7 +28,7 @@ jobs:
|
||||||
id
|
id
|
||||||
cat /etc/resolv.conf
|
cat /etc/resolv.conf
|
||||||
|
|
||||||
- name: "Setup: Runner"
|
- name: "Setup: Runner"
|
||||||
run: |
|
run: |
|
||||||
apt update -y
|
apt update -y
|
||||||
apt install git nodejs nix-bin sudo sudo curl -y
|
apt install git nodejs nix-bin sudo sudo curl -y
|
||||||
|
@ -44,7 +44,7 @@ jobs:
|
||||||
apt update -y
|
apt update -y
|
||||||
apt install tailscale -y
|
apt install tailscale -y
|
||||||
|
|
||||||
- name: "Setup: SSH"
|
- name: "Setup: SSH"
|
||||||
run: |
|
run: |
|
||||||
rm -rf /root/.ssh
|
rm -rf /root/.ssh
|
||||||
mkdir /root/.ssh
|
mkdir /root/.ssh
|
||||||
|
@ -103,18 +103,18 @@ jobs:
|
||||||
tailscale down
|
tailscale down
|
||||||
|
|
||||||
- if: success()
|
- 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 }} ] Steam Deck Updated'
|
notification_title: '[ ${{ github.repository }}: ${{ github.workflow }} ] Steam Deck Updated'
|
||||||
notification_message: 'Deployment completed successfully.'
|
notification_message: 'Deployment completed successfully.'
|
||||||
name: "Send Notification - Success"
|
name: "Send Notification - Success"
|
||||||
- if: failure()
|
- if: failure()
|
||||||
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 }} ] Deployment Failed'
|
notification_title: '[ ${{ github.repository }}: ${{ github.workflow }} ] Deployment Failed'
|
||||||
notification_message: 'Your deployment has failed. Check Forgejo.'
|
notification_message: 'Your deployment has failed. Check Forgejo.'
|
||||||
name: "Send Notification - Failure"
|
name: "Send Notification - Failure"
|
||||||
|
|
Loading…
Reference in a new issue