Test deployment
This commit is contained in:
parent
ed7a8b54ff
commit
e7a9bc3e4f
2 changed files with 9 additions and 3 deletions
|
@ -1,7 +1,10 @@
|
|||
on:
|
||||
push:
|
||||
branches:
|
||||
# - develop
|
||||
env:
|
||||
REGISTRY_IMAGE: ${{ vars.REGISTRY }}/${{ github.repository }}:${{ github.ref_name }}
|
||||
# REGISTRY_IMAGE: ${{ vars.REGISTRY }}/${{ github.repository }}:${{ github.ref_name }}
|
||||
REGISTRY_IMAGE: ${{ vars.REGISTRY }}/${{ github.repository }}:develop
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
@ -61,5 +64,7 @@ jobs:
|
|||
if: github.ref_name == 'develop'
|
||||
run: |
|
||||
curl \
|
||||
-H "Authorization: ${{ secrets.WEBHOOK_RESTART_TOKEN }}"
|
||||
-X POST "http://fulla.hz.hornwitser.no:9000/hooks/restart?container=schedule-demo"
|
||||
-H "X-Secret: ${{ secrets.WEBHOOK_SERVICE_TOKEN }}" \
|
||||
-d action=restart \
|
||||
-d service=schedule-demo \
|
||||
"http://fulla.hz.hornwitser.no:9000/hooks/service"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue