From c9337142ba3d597f6b695221f8b57f30d9723fdf Mon Sep 17 00:00:00 2001 From: Samuel Gratzl Date: Thu, 17 Dec 2020 14:00:57 -0500 Subject: [PATCH] build: trigger webhook update --- .github/workflows/ci_fast.yaml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci_fast.yaml b/.github/workflows/ci_fast.yaml index ff4a88f86..8a635fa9f 100644 --- a/.github/workflows/ci_fast.yaml +++ b/.github/workflows/ci_fast.yaml @@ -64,4 +64,10 @@ jobs: esac echo "using tag: --${awsTag}--" docker build -t $ECR_REGISTRY/$ECR_REPOSITORY:$awsTag --file ./devops/precompiled/Dockerfile . - docker push $ECR_REGISTRY/$ECR_REPOSITORY:$awsTag \ No newline at end of file + docker push $ECR_REGISTRY/$ECR_REPOSITORY:$awsTag + + # trigger a webhook update + curl -H "Authorization: Bearer ${{ secrets.DELPHI_DEPLOY_WEBHOOK_TOKEN }}" \ + -X POST ${{ secrets.DELPHI_DEPLOY_WEBHOOK_URL }} \ + -H "Content-Type: application/x-www-form-urlencoded" \ + -d "repository=$ECR_REGISTRY/$ECR_REPOSITORY&tag=$awsTag"