Skip to content

Commit

Permalink
fix: Corrected build trigger for flowing release notes from release-p…
Browse files Browse the repository at this point in the history
…lease
  • Loading branch information
slewis74 committed Jul 18, 2022
1 parent f2769d8 commit d174fc8
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ name: Build, Test, Package and Push
on:
# Triggers the workflow on push or pull request events
push:
branches:
- '**'
release:
types: [published]

schedule:
# Daily 5am australian/brisbane time (7pm UTC)
Expand All @@ -16,6 +20,8 @@ jobs:
build:
name: "Build and Package"
runs-on: ubuntu-latest
# conditionally skip build on PR merge of release-please, because the release creation is going to trigger the real build
if: ${{ github.ref_name != 'main' || github.event.head_commit.author.username != 'team-integrations-fnm-bot' }}
env:
OCTOPUS_API_KEY: ${{ secrets.OCTOPUS_APIKEY }}
OCTOPUS_HOST: ${{ secrets.OCTOPUS_SERVER }}
Expand Down
1 change: 1 addition & 0 deletions GitVersion.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
mode: ContinuousDeployment

0 comments on commit d174fc8

Please sign in to comment.