Automatically redeploy website upon pushes to main
All checks were successful
Build and publish Docker image / build (push) Successful in 14s

This commit is contained in:
TheAssassin 2024-05-19 20:40:20 +02:00
parent a23a9ea85d
commit 593563ed61

View file

@ -38,3 +38,11 @@ jobs:
labels: ${{ steps.meta.outputs.labels }} labels: ${{ steps.meta.outputs.labels }}
platforms: | platforms: |
linux/amd64 linux/amd64
- name: Trigger redeployment
# if: gitea.ref == 'refs/heads/main'
env:
UPDATE_URL: ${{ secrets.UPDATE_URL }}
UPDATE_TOKEN: ${{ secrets.UPDATE_TOKEN }}
run: |
curl "$UPDATE_URL" -H "Authorization: Bearer ${UPDATE_TOKEN}"