From cb9ccd3eb0a05ad025d1b91380caa7c2eb143b8f Mon Sep 17 00:00:00 2001 From: Jake Low Date: Tue, 17 Dec 2024 17:01:56 -0800 Subject: [PATCH] Add context message when redeploying --- .github/workflows/docker-publish.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/docker-publish.yml b/.github/workflows/docker-publish.yml index b20116b28..ab57548b4 100644 --- a/.github/workflows/docker-publish.yml +++ b/.github/workflows/docker-publish.yml @@ -66,9 +66,8 @@ jobs: steps: - name: Send trigger-workflow webhook to maproulette-deploy repository run: | - curl -L --fail \ - -X POST \ - https://api.github.com/repos/maproulette/maproulette-deploy/dispatches \ + curl -X POST https://api.github.com/repos/maproulette/maproulette-deploy/dispatches \ + --fail --location \ -H "Accept: application/vnd.github+json" \ -H "Authorization: Bearer ${{ secrets.DEPLOY_REPO_TOKEN }}" \ - -d '{ "event_type": "trigger-workflow" }' + -d '{ "event_type": "deploy maproulette-frontend@${{ github.ref }} (${{ github.sha }})" }'