From 7942aa41a80f75588f5ab2bdf357d62f88ecb77e Mon Sep 17 00:00:00 2001 From: Pranav Malaviya <30822450+pranavmalaviya@users.noreply.github.com> Date: Fri, 26 Jan 2024 07:22:09 +1100 Subject: [PATCH] Revert "Add curl request to trigger the publish-ami workflow (#134)" This reverts commit de8f954f4067010a8cbb6bb512163893592c4028. --- .github/workflows/pypi-upload.yml | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/.github/workflows/pypi-upload.yml b/.github/workflows/pypi-upload.yml index c3eba97..6b1a7ef 100644 --- a/.github/workflows/pypi-upload.yml +++ b/.github/workflows/pypi-upload.yml @@ -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