Skip to content

Commit

Permalink
fix: deployment events happen during any gate, catch wont work. Reve… (
Browse files Browse the repository at this point in the history
  • Loading branch information
cberg-aot authored Jan 16, 2024
1 parent b9c5a5a commit e657202
Showing 1 changed file with 3 additions and 11 deletions.
14 changes: 3 additions & 11 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
name: Release

on:
deployment_status:
workflow_run:
workflows: [Merge]
types: [completed]

jobs:
GitVersion:
if: ${{github.event.deployment.environment == 'prod'}}
name: Mainline Versioning - GitVersion
runs-on: ubuntu-22.04
steps:
Expand Down Expand Up @@ -94,12 +95,3 @@ jobs:
repository: ${{ github.repository }}/${{ matrix.package }}
target: test
tags: ${{ needs.GitVersion.outputs.fullSemVer }}

notify:
runs-on: ubuntu-22.04
steps:
- name: Debug
run: |
echo '${{toJSON(github.event.deployment_status)}}'
echo '${{toJSON(github.event.workflow)}}'
echo '${{toJSON(github.event.workflow_run)}}'

0 comments on commit e657202

Please sign in to comment.