Skip to content

Commit ad032a2

Browse files
Merge pull request #14 from adarsh3033/patch-3
Change branch condition for publish job in CD workflow
2 parents 14b3640 + e741607 commit ad032a2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/cd.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
publish:
1111
if: >
1212
github.event.workflow_run.conclusion == 'success' &&
13-
github.event.workflow_run.head_branch == 'production'
13+
github.event.workflow_run.head_branch == 'push'
1414
1515
runs-on: ubuntu-latest
1616

@@ -35,4 +35,4 @@ jobs:
3535
run: |
3636
mkdir -p "$HOME/.config/dart"
3737
echo "$PUB_CREDENTIALS" > "$HOME/.config/dart/pub-credentials.json"
38-
flutter pub publish --force
38+
flutter pub publish --force

0 commit comments

Comments
 (0)