Skip to content

Commit

Permalink
feat: add trigger deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
bigint committed Dec 28, 2023
1 parent 6a49da2 commit de19fc6
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/deploy-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,3 +46,12 @@ jobs:
file: ./apps/og/Dockerfile
push: true
tags: ${{ secrets.DOCKERHUB_USERNAME }}/og:latest

- name: Trigger API Deployment 🚀
env:
SECRET: ${{ secrets.SECRET }}
SERVICE_ID: '4a2a1bfb-e499-4c71-bf7f-d9ad47443c31'
run: |
curl -X POST \
-d '{"secret": "'"$SECRET"'", "serviceId": "'"$SERVICE_ID"'"}' \
https://api.hey.xyz/internal/pro/downgradeProfiles

0 comments on commit de19fc6

Please sign in to comment.