feat: add ntfy notifications to all workflow files
This commit is contained in:
parent
0f73baec21
commit
2721808914
@ -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
|
||||
@ -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
|
||||
@ -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
|
||||
@ -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
|
||||
@ -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
|
||||
@ -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
|
||||
@ -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
|
||||
@ -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
|
||||
@ -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
|
||||
@ -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 \
|
||||
@ -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
|
||||
@ -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
|
||||
@ -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
|
||||
@ -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
|
||||
@ -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
|
||||
@ -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
|
||||
@ -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
|
||||
@ -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
|
||||
@ -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
|
||||
@ -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
|
||||
|
||||
@ -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
|
||||
@ -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
|
||||
@ -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
|
||||
@ -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
|
||||
@ -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
|
||||
@ -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
|
||||
@ -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
|
||||
@ -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
|
||||
Loading…
Reference in New Issue
Block a user