Skip to content

Commit 8552a4c

Browse files
committed
ci: fix
1 parent ca92d6d commit 8552a4c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/deploy.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,12 +52,14 @@ jobs:
5252
npm install -g @semantic-release/release-notes-generator
5353
5454
- name: Publish to Git Releases and Tags
55+
if: ${{ github.event.workflow_run.conclusion == 'success' }}
5556
env:
5657
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
5758
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
5859
run: npx semantic-release --dry-run --branches 9520_gha # Uncomment for testing purposes
5960

6061
- name: Publish Java docs
62+
if: ${{ github.event.workflow_run.conclusion == 'success' }}
6163
env:
6264
GH_TOKEN: ${{ secrets.GH_TOKEN }}
6365
GHA_REPO_SLUG: ${{ github.repository }}

0 commit comments

Comments
 (0)