Skip to content

Commit

Permalink
build(cd): add trigger to deploy website
Browse files Browse the repository at this point in the history
  • Loading branch information
alphanome committed Oct 7, 2023
1 parent 7490cd1 commit 33a6300
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,11 @@ jobs:
fi
poetry build
poetry publish --username __token__ --password ${{ secrets.PUBLIC_PYPI_API_TOKEN }}
- name: Initiate Website Deployment
run: |
curl -X POST \
-H "Authorization: token ${{ secrets.CI_CD_TRIGGER_GITHUB_TOKEN }}" \
-H "Accept: application/vnd.github.everest-preview+json" \
"https://api.github.com/repos/alphanome-ai/sec-ai-deploy/dispatches" \
--data '{"event_type": "trigger-ci-cd"}'

0 comments on commit 33a6300

Please sign in to comment.