Skip to content

Commit

Permalink
Revert "Add curl request to trigger the publish-ami workflow (#134)"
Browse files Browse the repository at this point in the history
This reverts commit de8f954.
  • Loading branch information
pranavmalaviya committed Jan 25, 2024
1 parent 17f9514 commit 7942aa4
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions .github/workflows/pypi-upload.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,18 +46,6 @@ jobs:
TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}
run: |
twine upload --verbose -u '__token__' dist/*
# This step triggers the publish-amis workflow here
# https://github.com/tidalmigrations/Infrastructure-templates/blob/main/.github/workflows/publish-images.yml
- name: Trigger publish-ami workflow
run: |
curl -X POST \
-H "Accept: application/vnd.github.v3+json" \
-H "Authorization: token ${{ secrets.PERSONAL_ACCESS_TOKEN_GITHUB }}" \
--data '{"event_type":"publish_amis"}' \
https://api.github.com/repos/tidalmigrations/Infrastructure-templates/dispatches
virt_stats:
name: Virt Stats PyPI Upload
runs-on: ubuntu-latest
Expand Down

0 comments on commit 7942aa4

Please sign in to comment.