diff --git a/.github/workflows/dispatch-release.yml b/.github/workflows/dispatch-release.yml deleted file mode 100644 index 7affe34..0000000 --- a/.github/workflows/dispatch-release.yml +++ /dev/null @@ -1,26 +0,0 @@ -name: Dispatch Release & Deploy to PROD -on: - repository_dispatch: - types: - - release-django-common-utils - -jobs: - create-release: - runs-on: ubuntu-latest - steps: - - name: Checkout - uses: actions/checkout@v6 - - - name: Client payload - run: | - cat <<'EOF' - ${{ toJson(github.event.client_payload) }} - EOF - - - name: Release - if: ${{ github.event.client_payload.release_target_commitish == 'main' }} - uses: softprops/action-gh-release@v2 - with: - tag_name: ${{ github.event.client_payload.release_tag }} - generate_release_notes: true - target_commitish: 'main'