We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5a5da94 commit c8b52d2Copy full SHA for c8b52d2
1 file changed
.github/workflows/build.yaml
@@ -95,3 +95,18 @@ jobs:
95
docker buildx imagetools create \
96
$(jq -cr '.tags | map("-t " + .) | join(" ")' <<< "$DOCKER_METADATA_OUTPUT_JSON") \
97
$(cat /tmp/digests/*)
98
+
99
+ deploy:
100
+ needs: merge
101
+ runs-on: ubuntu-latest
102
+ environment: production
103
+ permissions:
104
+ contents: read
105
+ steps:
106
+ - name: Trigger deployment
107
+ run: |
108
+ curl -sf -X POST \
109
+ -H "Authorization: Bearer ${{ secrets.DEPLOY_JWT }}" \
110
+ -H "Content-Type: application/json" \
111
+ -d '{"service": "mesastream"}' \
112
+ "${{ secrets.DEPLOY_URL }}"
0 commit comments