Skip to content

Commit 214cea9

Browse files
committed
fix doc dispatch
1 parent a4e02bc commit 214cea9

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

.github/workflows/go.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -149,14 +149,6 @@ jobs:
149149
MACOS_NOTARIZATION_TEAM_ID: ${{ secrets.MACOS_NOTARIZATION_TEAM_ID }}
150150
MACOS_NOTARIZATION_APP_PW: ${{ secrets.MACOS_NOTARIZATION_APP_PW }}
151151

152-
- name: Trigger CLI Autodoc
153-
uses: peter-evans/repository-dispatch@v1
154-
with:
155-
token: ${{ secrets.DOCS_ACTION_TRIGGER_TOKEN }}
156-
repository: DefangLabs/defang-docs
157-
event-type: cli-autodoc
158-
client-payload: '{"version": "${{ github.ref_name }}"}'
159-
160152
publish-npm-binaries:
161153
runs-on: ubuntu-latest
162154
needs: go-release
@@ -171,6 +163,14 @@ jobs:
171163
working-directory: ./pkgs/npm
172164

173165
steps:
166+
- name: Trigger CLI Autodoc
167+
uses: peter-evans/repository-dispatch@v1
168+
with:
169+
token: ${{ secrets.DOCS_ACTION_TRIGGER_TOKEN }}
170+
repository: DefangLabs/defang-docs
171+
event-type: cli-autodoc
172+
client-payload: '{"version": "${{ github.ref_name }}"}'
173+
174174
- name: Checkout tag
175175
uses: actions/checkout@v4
176176

0 commit comments

Comments
 (0)