Skip to content

Commit 1881200

Browse files
committed
ci: dispatch fief-image-built event to storefront after successful push
1 parent 628046a commit 1881200

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

‎.github/workflows/docker-image.yml‎

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,3 +58,12 @@ jobs:
5858
labels: ${{ steps.meta.outputs.labels }}
5959
cache-from: type=gha
6060
cache-to: type=gha,mode=max
61+
62+
- name: Trigger fief deployment in storefront repo
63+
if: github.ref == 'refs/heads/main'
64+
run: |
65+
curl -X POST \
66+
-H "Authorization: token ${{ secrets.STOREFRONT_DEPLOY_TOKEN }}" \
67+
-H "Accept: application/vnd.github.v3+json" \
68+
https://api.github.com/repos/opensensor/storefront/dispatches \
69+
-d '{"event_type":"fief-image-built"}'

0 commit comments

Comments
 (0)