feat: add ntfy notifications to all workflow files

This commit is contained in:
Gaxinto Theodorio 2025-05-06 23:38:31 -04:00
parent 0f73baec21
commit 2721808914
28 changed files with 140 additions and 28 deletions

View File

@ -22,4 +22,8 @@ jobs:
port: ${{ secrets.PORT }}
script: |
cd /home/geezo/docker_containers && \
./restart_container.sh ${{ env.app_folder }}
if ./restart_container.sh ${{ env.app_folder }}; then
curl -H "Title: Docker Container Update" -H "Priority: high" -H "Tags: docker,success" -d "Successfully updated ${{ env.app_folder }} container" https://ntfy.geezo.site/docker
else
curl -H "Title: Docker Container Update" -H "Priority: urgent" -H "Tags: docker,error" -d "Failed to update ${{ env.app_folder }} container" https://ntfy.geezo.site/docker
fi

View File

@ -22,4 +22,8 @@ jobs:
port: ${{ secrets.PORT }}
script: |
cd /home/geezo/docker_containers && \
./restart_container.sh ${{ env.app_folder }}
if ./restart_container.sh ${{ env.app_folder }}; then
curl -H "Title: Docker Container Update" -H "Priority: high" -H "Tags: docker,success" -d "Successfully updated ${{ env.app_folder }} container" https://ntfy.geezo.site/docker
else
curl -H "Title: Docker Container Update" -H "Priority: urgent" -H "Tags: docker,error" -d "Failed to update ${{ env.app_folder }} container" https://ntfy.geezo.site/docker
fi

View File

@ -22,4 +22,8 @@ jobs:
port: ${{ secrets.PORT }}
script: |
cd /home/geezo/docker_containers && \
./restart_container.sh ${{ env.app_folder }}
if ./restart_container.sh ${{ env.app_folder }}; then
curl -H "Title: Docker Container Update" -H "Priority: high" -H "Tags: docker,success" -d "Successfully updated ${{ env.app_folder }} container" https://ntfy.geezo.site/docker
else
curl -H "Title: Docker Container Update" -H "Priority: urgent" -H "Tags: docker,error" -d "Failed to update ${{ env.app_folder }} container" https://ntfy.geezo.site/docker
fi

View File

@ -22,4 +22,8 @@ jobs:
port: ${{ secrets.PORT }}
script: |
cd /home/geezo/docker_containers && \
./restart_container.sh ${{ env.app_folder }}
if ./restart_container.sh ${{ env.app_folder }}; then
curl -H "Title: Docker Container Update" -H "Priority: high" -H "Tags: docker,success" -d "Successfully updated ${{ env.app_folder }} container" https://ntfy.geezo.site/docker
else
curl -H "Title: Docker Container Update" -H "Priority: urgent" -H "Tags: docker,error" -d "Failed to update ${{ env.app_folder }} container" https://ntfy.geezo.site/docker
fi

View File

@ -22,4 +22,8 @@ jobs:
port: ${{ secrets.PORT }}
script: |
cd /home/geezo/docker_containers && \
./restart_container.sh ${{ env.app_folder }}
if ./restart_container.sh ${{ env.app_folder }}; then
curl -H "Title: Docker Container Update" -H "Priority: high" -H "Tags: docker,success" -d "Successfully updated ${{ env.app_folder }} container" https://ntfy.geezo.site/docker
else
curl -H "Title: Docker Container Update" -H "Priority: urgent" -H "Tags: docker,error" -d "Failed to update ${{ env.app_folder }} container" https://ntfy.geezo.site/docker
fi

View File

@ -22,4 +22,8 @@ jobs:
port: ${{ secrets.PORT }}
script: |
cd /home/geezo/docker_containers && \
./restart_container.sh ${{ env.app_folder }}
if ./restart_container.sh ${{ env.app_folder }}; then
curl -H "Title: Docker Container Update" -H "Priority: high" -H "Tags: docker,success" -d "Successfully updated ${{ env.app_folder }} container" https://ntfy.geezo.site/docker
else
curl -H "Title: Docker Container Update" -H "Priority: urgent" -H "Tags: docker,error" -d "Failed to update ${{ env.app_folder }} container" https://ntfy.geezo.site/docker
fi

View File

@ -22,4 +22,8 @@ jobs:
port: ${{ secrets.PORT }}
script: |
cd /home/geezo/docker_containers && \
./restart_container.sh ${{ env.app_folder }}
if ./restart_container.sh ${{ env.app_folder }}; then
curl -H "Title: Docker Container Update" -H "Priority: high" -H "Tags: docker,success" -d "Successfully updated ${{ env.app_folder }} container" https://ntfy.geezo.site/docker
else
curl -H "Title: Docker Container Update" -H "Priority: urgent" -H "Tags: docker,error" -d "Failed to update ${{ env.app_folder }} container" https://ntfy.geezo.site/docker
fi

View File

@ -22,4 +22,8 @@ jobs:
port: ${{ secrets.PORT }}
script: |
cd /home/geezo/docker_containers && \
./restart_container.sh ${{ env.app_folder }}
if ./restart_container.sh ${{ env.app_folder }}; then
curl -H "Title: Docker Container Update" -H "Priority: high" -H "Tags: docker,success" -d "Successfully updated ${{ env.app_folder }} container" https://ntfy.geezo.site/docker
else
curl -H "Title: Docker Container Update" -H "Priority: urgent" -H "Tags: docker,error" -d "Failed to update ${{ env.app_folder }} container" https://ntfy.geezo.site/docker
fi

View File

@ -22,4 +22,8 @@ jobs:
port: ${{ secrets.PORT }}
script: |
cd /home/geezo/docker_containers && \
./restart_container.sh ${{ env.app_folder }}
if ./restart_container.sh ${{ env.app_folder }}; then
curl -H "Title: Docker Container Update" -H "Priority: high" -H "Tags: docker,success" -d "Successfully updated ${{ env.app_folder }} container" https://ntfy.geezo.site/docker
else
curl -H "Title: Docker Container Update" -H "Priority: urgent" -H "Tags: docker,error" -d "Failed to update ${{ env.app_folder }} container" https://ntfy.geezo.site/docker
fi

View File

@ -22,4 +22,8 @@ jobs:
port: ${{ secrets.PORT }}
script: |
cd /home/geezo/docker_containers && \
./restart_container.sh ${{ env.app_folder }} \
if ./restart_container.sh ${{ env.app_folder }}; then
curl -H "Title: Docker Container Update" -H "Priority: high" -H "Tags: docker,success" -d "Successfully updated ${{ env.app_folder }} container" https://ntfy.geezo.site/docker
else
curl -H "Title: Docker Container Update" -H "Priority: urgent" -H "Tags: docker,error" -d "Failed to update ${{ env.app_folder }} container" https://ntfy.geezo.site/docker
fi \

View File

@ -22,4 +22,8 @@ jobs:
port: ${{ secrets.PORT }}
script: |
cd /home/geezo/docker_containers && \
./restart_container.sh ${{ env.app_folder }}
if ./restart_container.sh ${{ env.app_folder }}; then
curl -H "Title: Docker Container Update" -H "Priority: high" -H "Tags: docker,success" -d "Successfully updated ${{ env.app_folder }} container" https://ntfy.geezo.site/docker
else
curl -H "Title: Docker Container Update" -H "Priority: urgent" -H "Tags: docker,error" -d "Failed to update ${{ env.app_folder }} container" https://ntfy.geezo.site/docker
fi

View File

@ -22,4 +22,8 @@ jobs:
port: ${{ secrets.PORT }}
script: |
cd /home/geezo/docker_containers && \
./restart_container.sh ${{ env.app_folder }}
if ./restart_container.sh ${{ env.app_folder }}; then
curl -H "Title: Docker Container Update" -H "Priority: high" -H "Tags: docker,success" -d "Successfully updated ${{ env.app_folder }} container" https://ntfy.geezo.site/docker
else
curl -H "Title: Docker Container Update" -H "Priority: urgent" -H "Tags: docker,error" -d "Failed to update ${{ env.app_folder }} container" https://ntfy.geezo.site/docker
fi

View File

@ -22,4 +22,8 @@ jobs:
port: ${{ secrets.PORT }}
script: |
cd /home/geezo/docker_containers && \
./restart_container.sh ${{ env.app_folder }}
if ./restart_container.sh ${{ env.app_folder }}; then
curl -H "Title: Docker Container Update" -H "Priority: high" -H "Tags: docker,success" -d "Successfully updated ${{ env.app_folder }} container" https://ntfy.geezo.site/docker
else
curl -H "Title: Docker Container Update" -H "Priority: urgent" -H "Tags: docker,error" -d "Failed to update ${{ env.app_folder }} container" https://ntfy.geezo.site/docker
fi

View File

@ -22,4 +22,8 @@ jobs:
port: ${{ secrets.PORT }}
script: |
cd /home/geezo/docker_containers && \
./restart_container.sh ${{ env.app_folder }}
if ./restart_container.sh ${{ env.app_folder }}; then
curl -H "Title: Docker Container Update" -H "Priority: high" -H "Tags: docker,success" -d "Successfully updated ${{ env.app_folder }} container" https://ntfy.geezo.site/docker
else
curl -H "Title: Docker Container Update" -H "Priority: urgent" -H "Tags: docker,error" -d "Failed to update ${{ env.app_folder }} container" https://ntfy.geezo.site/docker
fi

View File

@ -22,4 +22,8 @@ jobs:
port: ${{ secrets.PORT }}
script: |
cd /home/geezo/docker_containers && \
./restart_container.sh ${{ env.app_folder }}
if ./restart_container.sh ${{ env.app_folder }}; then
curl -H "Title: Docker Container Update" -H "Priority: high" -H "Tags: docker,success" -d "Successfully updated ${{ env.app_folder }} container" https://ntfy.geezo.site/docker
else
curl -H "Title: Docker Container Update" -H "Priority: urgent" -H "Tags: docker,error" -d "Failed to update ${{ env.app_folder }} container" https://ntfy.geezo.site/docker
fi

View File

@ -22,4 +22,8 @@ jobs:
port: ${{ secrets.PORT }}
script: |
cd /home/geezo/docker_containers && \
./restart_container.sh ${{ env.app_folder }}
if ./restart_container.sh ${{ env.app_folder }}; then
curl -H "Title: Docker Container Update" -H "Priority: high" -H "Tags: docker,success" -d "Successfully updated ${{ env.app_folder }} container" https://ntfy.geezo.site/docker
else
curl -H "Title: Docker Container Update" -H "Priority: urgent" -H "Tags: docker,error" -d "Failed to update ${{ env.app_folder }} container" https://ntfy.geezo.site/docker
fi

View File

@ -22,4 +22,8 @@ jobs:
port: ${{ secrets.PORT }}
script: |
cd /home/geezo/docker_containers && \
./restart_container.sh ${{ env.app_folder }}
if ./restart_container.sh ${{ env.app_folder }}; then
curl -H "Title: Docker Container Update" -H "Priority: high" -H "Tags: docker,success" -d "Successfully updated ${{ env.app_folder }} container" https://ntfy.geezo.site/docker
else
curl -H "Title: Docker Container Update" -H "Priority: urgent" -H "Tags: docker,error" -d "Failed to update ${{ env.app_folder }} container" https://ntfy.geezo.site/docker
fi

View File

@ -22,4 +22,8 @@ jobs:
port: ${{ secrets.PORT }}
script: |
cd /home/geezo/docker_containers && \
./restart_container.sh ${{ env.app_folder }}
if ./restart_container.sh ${{ env.app_folder }}; then
curl -H "Title: Docker Container Update" -H "Priority: high" -H "Tags: docker,success" -d "Successfully updated ${{ env.app_folder }} container" https://ntfy.geezo.site/docker
else
curl -H "Title: Docker Container Update" -H "Priority: urgent" -H "Tags: docker,error" -d "Failed to update ${{ env.app_folder }} container" https://ntfy.geezo.site/docker
fi

View File

@ -22,4 +22,8 @@ jobs:
port: ${{ secrets.PORT }}
script: |
cd /home/geezo/docker_containers && \
./restart_container.sh ${{ env.app_folder }}
if ./restart_container.sh ${{ env.app_folder }}; then
curl -H "Title: Docker Container Update" -H "Priority: high" -H "Tags: docker,success" -d "Successfully updated ${{ env.app_folder }} container" https://ntfy.geezo.site/docker
else
curl -H "Title: Docker Container Update" -H "Priority: urgent" -H "Tags: docker,error" -d "Failed to update ${{ env.app_folder }} container" https://ntfy.geezo.site/docker
fi

View File

@ -23,4 +23,8 @@ jobs:
port: ${{ secrets.PORT }}
script: |
cd /home/geezo/docker_containers && \
./restart_container.sh ${{ env.app_folder }}
if ./restart_container.sh ${{ env.app_folder }}; then
curl -H "Title: Docker Container Update" -H "Priority: high" -H "Tags: docker,success" -d "Successfully updated ${{ env.app_folder }} container" https://ntfy.geezo.site/docker
else
curl -H "Title: Docker Container Update" -H "Priority: urgent" -H "Tags: docker,error" -d "Failed to update ${{ env.app_folder }} container" https://ntfy.geezo.site/docker
fi

View File

@ -22,4 +22,8 @@ jobs:
port: ${{ secrets.PORT }}
script: |
cd /home/geezo/docker_containers && \
./restart_container.sh ${{ env.app_folder }}
if ./restart_container.sh ${{ env.app_folder }}; then
curl -H "Title: Docker Container Update" -H "Priority: high" -H "Tags: docker,success" -d "Successfully updated ${{ env.app_folder }} container" https://ntfy.geezo.site/docker
else
curl -H "Title: Docker Container Update" -H "Priority: urgent" -H "Tags: docker,error" -d "Failed to update ${{ env.app_folder }} container" https://ntfy.geezo.site/docker
fi

View File

@ -22,4 +22,8 @@ jobs:
port: ${{ secrets.PORT }}
script: |
cd /home/geezo/docker_containers && \
./restart_container.sh ${{ env.app_folder }}
if ./restart_container.sh ${{ env.app_folder }}; then
curl -H "Title: Docker Container Update" -H "Priority: high" -H "Tags: docker,success" -d "Successfully updated ${{ env.app_folder }} container" https://ntfy.geezo.site/docker
else
curl -H "Title: Docker Container Update" -H "Priority: urgent" -H "Tags: docker,error" -d "Failed to update ${{ env.app_folder }} container" https://ntfy.geezo.site/docker
fi

View File

@ -22,4 +22,8 @@ jobs:
port: ${{ secrets.PORT }}
script: |
cd /home/geezo/docker_containers && \
./restart_container.sh ${{ env.app_folder }}
if ./restart_container.sh ${{ env.app_folder }}; then
curl -H "Title: Docker Container Update" -H "Priority: high" -H "Tags: docker,success" -d "Successfully updated ${{ env.app_folder }} container" https://ntfy.geezo.site/docker
else
curl -H "Title: Docker Container Update" -H "Priority: urgent" -H "Tags: docker,error" -d "Failed to update ${{ env.app_folder }} container" https://ntfy.geezo.site/docker
fi

View File

@ -22,4 +22,8 @@ jobs:
port: ${{ secrets.PORT }}
script: |
cd /home/geezo/docker_containers && \
./restart_container.sh ${{ env.app_folder }}
if ./restart_container.sh ${{ env.app_folder }}; then
curl -H "Title: Docker Container Update" -H "Priority: high" -H "Tags: docker,success" -d "Successfully updated ${{ env.app_folder }} container" https://ntfy.geezo.site/docker
else
curl -H "Title: Docker Container Update" -H "Priority: urgent" -H "Tags: docker,error" -d "Failed to update ${{ env.app_folder }} container" https://ntfy.geezo.site/docker
fi

View File

@ -22,4 +22,8 @@ jobs:
port: ${{ secrets.PORT }}
script: |
cd /home/geezo/docker_containers && \
./restart_container.sh ${{ env.app_folder }}
if ./restart_container.sh ${{ env.app_folder }}; then
curl -H "Title: Docker Container Update" -H "Priority: high" -H "Tags: docker,success" -d "Successfully updated ${{ env.app_folder }} container" https://ntfy.geezo.site/docker
else
curl -H "Title: Docker Container Update" -H "Priority: urgent" -H "Tags: docker,error" -d "Failed to update ${{ env.app_folder }} container" https://ntfy.geezo.site/docker
fi

View File

@ -22,4 +22,8 @@ jobs:
port: ${{ secrets.PORT }}
script: |
cd /home/geezo/docker_containers && \
./restart_container.sh ${{ env.app_folder }}
if ./restart_container.sh ${{ env.app_folder }}; then
curl -H "Title: Docker Container Update" -H "Priority: high" -H "Tags: docker,success" -d "Successfully updated ${{ env.app_folder }} container" https://ntfy.geezo.site/docker
else
curl -H "Title: Docker Container Update" -H "Priority: urgent" -H "Tags: docker,error" -d "Failed to update ${{ env.app_folder }} container" https://ntfy.geezo.site/docker
fi

View File

@ -22,4 +22,8 @@ jobs:
port: ${{ secrets.PORT }}
script: |
cd /home/geezo/docker_containers && \
./restart_container.sh ${{ env.app_folder }}
if ./restart_container.sh ${{ env.app_folder }}; then
curl -H "Title: Docker Container Update" -H "Priority: high" -H "Tags: docker,success" -d "Successfully updated ${{ env.app_folder }} container" https://ntfy.geezo.site/docker
else
curl -H "Title: Docker Container Update" -H "Priority: urgent" -H "Tags: docker,error" -d "Failed to update ${{ env.app_folder }} container" https://ntfy.geezo.site/docker
fi

View File

@ -22,4 +22,8 @@ jobs:
port: ${{ secrets.PORT }}
script: |
cd /home/geezo/docker_containers && \
./restart_container.sh ${{ env.app_folder }}
if ./restart_container.sh ${{ env.app_folder }}; then
curl -H "Title: Docker Container Update" -H "Priority: high" -H "Tags: docker,success" -d "Successfully updated ${{ env.app_folder }} container" https://ntfy.geezo.site/docker
else
curl -H "Title: Docker Container Update" -H "Priority: urgent" -H "Tags: docker,error" -d "Failed to update ${{ env.app_folder }} container" https://ntfy.geezo.site/docker
fi