From 43e83dcfd02ae129939fc4a14b2de0d5fe2f75d6 Mon Sep 17 00:00:00 2001 From: shtlrs Date: Sun, 19 Mar 2023 17:51:43 +0100 Subject: align sentry-release file ext --- .github/workflows/main.yaml | 2 +- .github/workflows/sentry-release.yaml | 23 +++++++++++++++++++++++ .github/workflows/sentry-release.yml | 23 ----------------------- 3 files changed, 24 insertions(+), 24 deletions(-) create mode 100644 .github/workflows/sentry-release.yaml delete mode 100644 .github/workflows/sentry-release.yml (limited to '.github/workflows') diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index 357777d1..8414f941 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -47,7 +47,7 @@ jobs: sentry-release: if: github.ref == 'refs/heads/main' - uses: ./.github/workflows/sentry_release.yml + uses: ./.github/workflows/sentry_release.yaml needs: - build-deploy secrets: inherit diff --git a/.github/workflows/sentry-release.yaml b/.github/workflows/sentry-release.yaml new file mode 100644 index 00000000..6521c389 --- /dev/null +++ b/.github/workflows/sentry-release.yaml @@ -0,0 +1,23 @@ +name: Create Sentry release + +on: + push: + branches: + - main + +jobs: + createSentryRelease: + runs-on: ubuntu-latest + steps: + - name: Checkout code + uses: actions/checkout@v3 + - name: Create a Sentry.io release + uses: tclindner/sentry-releases-action@v1.2.0 + env: + SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }} + SENTRY_ORG: python-discord + SENTRY_PROJECT: site + with: + tagName: ${{ github.sha }} + environment: production + releaseNamePrefix: site@ diff --git a/.github/workflows/sentry-release.yml b/.github/workflows/sentry-release.yml deleted file mode 100644 index 6521c389..00000000 --- a/.github/workflows/sentry-release.yml +++ /dev/null @@ -1,23 +0,0 @@ -name: Create Sentry release - -on: - push: - branches: - - main - -jobs: - createSentryRelease: - runs-on: ubuntu-latest - steps: - - name: Checkout code - uses: actions/checkout@v3 - - name: Create a Sentry.io release - uses: tclindner/sentry-releases-action@v1.2.0 - env: - SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }} - SENTRY_ORG: python-discord - SENTRY_PROJECT: site - with: - tagName: ${{ github.sha }} - environment: production - releaseNamePrefix: site@ -- cgit v1.2.3