Skip to content

Commit

Permalink
Merge pull request #20 from DFE-Digital/feature/197217-fix-nuget-pack…
Browse files Browse the repository at this point in the history
…age-deployment

Added a couple of debug lines
  • Loading branch information
FrostyApeOne authored Jan 27, 2025
2 parents 67f47f9 + f9c4529 commit a068422
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions .github/workflows/build-and-push-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,10 @@ env:

jobs:
build-and-test:
if: >
github.event.workflow_run.conclusion == 'success' &&
startsWith(github.event.workflow_run.head_commit.message, 'production-')

# if: >
# github.event.workflow_run.conclusion == 'success' &&
# startsWith(github.event.workflow_run.ref, 'refs/tags/production-')
runs-on: ubuntu-latest
permissions:
packages: write
Expand All @@ -24,6 +25,12 @@ jobs:
ref: ${{ github.ref }}
fetch-depth: 0 # Shallow clones disabled for a better relevancy of SC analysis

- name: Display Tag
run: echo "${{ github.event.workflow_run.head_commit.message }}"

- name: Debug Event Payload
run: echo "${{ toJson(github.event) }}"

- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
Expand Down

0 comments on commit a068422

Please sign in to comment.