Skip to content

Commit

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

Fixed nuget package deployment, this will be triggered when -production tag generated
  • Loading branch information
FrostyApeOne authored Jan 27, 2025
2 parents cd28465 + 8509a04 commit 67f47f9
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/build-and-push-package.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,19 @@
name: Build and Push NuGet Package

on:
push:
tags:
- 'production-*'
workflow_run:
workflows: ["Deploy"]
types:
- completed

env:
DOTNET_VERSION: '8.0.x'

jobs:
build-and-test:
if: >
github.event.workflow_run.conclusion == 'success' &&
startsWith(github.event.workflow_run.head_commit.message, 'production-')
runs-on: ubuntu-latest
permissions:
packages: write
Expand Down

0 comments on commit 67f47f9

Please sign in to comment.