Automatically redeploy website upon pushes to main
All checks were successful
Build and publish Docker image / build (push) Successful in 14s
All checks were successful
Build and publish Docker image / build (push) Successful in 14s
This commit is contained in:
parent
a23a9ea85d
commit
593563ed61
1 changed files with 8 additions and 0 deletions
|
@ -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}"
|
||||||
|
|
Loading…
Reference in a new issue