Skip to content

Commit 4271b6e

Browse files
committed
Remove staging deploy hook from CI workflow
1 parent 2f3c449 commit 4271b6e

1 file changed

Lines changed: 1 addition & 14 deletions

File tree

.github/workflows/docker-publish.yml

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Build Docker image, push to GHCR, and trigger redeploy
1+
name: Build Docker image and push to GHCR
22

33
on:
44
push:
@@ -58,16 +58,3 @@ jobs:
5858
labels: ${{ steps.meta.outputs.labels }}
5959
cache-from: type=gha
6060
cache-to: type=gha,mode=max
61-
62-
trigger-redeploy:
63-
needs: build
64-
runs-on: ubuntu-latest
65-
66-
steps:
67-
- name: Send trigger-workflow webhook to maproulette-deploy repository
68-
run: |
69-
curl -X POST https://api.github.com/repos/maproulette/maproulette-deploy/dispatches \
70-
--fail --silent --show-error --location \
71-
-H "Accept: application/vnd.github+json" \
72-
-H "Authorization: Bearer ${{ secrets.DEPLOY_REPO_TOKEN }}" \
73-
-d '{ "event_type": "deploy maproulette-frontend@${{ github.ref_name }} (${{ github.sha }})" }'

0 commit comments

Comments
 (0)