Skip to content

Commit 66a4e86

Browse files
committed
fix: call publish workflow directly from update cli job
1 parent 4c7c1b6 commit 66a4e86

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

.github/workflows/update-cli.yml

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,6 @@ jobs:
4040
git config user.email '[email protected]'
4141
git commit -m 'CLI documentation update from CI'
4242
git push origin main
43-
44-
deploy:
45-
runs-on: ubuntu-latest
46-
needs: update-cli
47-
steps:
48-
- name: Call publish workflow
49-
uses: ./.github/workflows/publish.yml
43+
- name: Call publish workflow
44+
if: steps.status.outputs.has_changes == '1'
45+
uses: ./.github/workflows/publish.yml

0 commit comments

Comments
 (0)