This commit is contained in:
@@ -10,7 +10,7 @@ on:
|
|||||||
- 'composer.json'
|
- 'composer.json'
|
||||||
- 'composer.lock'
|
- 'composer.lock'
|
||||||
- '.gitea/workflows/build-docker.yml'
|
- '.gitea/workflows/build-docker.yml'
|
||||||
- 'version'
|
- 'version' # Change this file to force rebuild
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
@@ -43,14 +43,14 @@ jobs:
|
|||||||
docker push "$IMAGE:${{ gitea.sha }}"
|
docker push "$IMAGE:${{ gitea.sha }}"
|
||||||
docker push "$IMAGE:latest"
|
docker push "$IMAGE:latest"
|
||||||
|
|
||||||
- name: Trigger deployment
|
# - name: Trigger deployment
|
||||||
run: |
|
# run: |
|
||||||
curl --fail-with-body \
|
# curl --fail-with-body \
|
||||||
-X POST \
|
# -X POST \
|
||||||
-H "Content-Type: application/json" \
|
# -H "Content-Type: application/json" \
|
||||||
-d '{
|
# -d '{
|
||||||
"image": "'"$IMAGE:${{ gitea.sha }}"'",
|
# "image": "'"$IMAGE:${{ gitea.sha }}"'",
|
||||||
"commit": "${{ gitea.sha }}",
|
# "commit": "${{ gitea.sha }}",
|
||||||
"repository": "${{ gitea.repository }}"
|
# "repository": "${{ gitea.repository }}"
|
||||||
}' \
|
# }' \
|
||||||
"${{ secrets.DEPLOY_WEBHOOK_URL }}"
|
# "${{ secrets.DEPLOY_WEBHOOK_URL }}"
|
||||||
|
|||||||
Reference in New Issue
Block a user