Automatically redeploy website upon pushes to main
Build and publish Docker image / build (push) Successful in 17s
Details
Build and publish Docker image / build (push) Successful in 17s
Details
This commit is contained in:
parent
b05d1729bc
commit
e2e05f24bf
|
@ -38,3 +38,11 @@ jobs:
|
|||
labels: ${{ steps.meta.outputs.labels }}
|
||||
platforms: |
|
||||
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 New Issue