Skip to content

Commit 9a8ad58

Browse files
committed
fix(workflow): add API dir to latest
Signed-off-by: heitorlessa <[email protected]>
1 parent f976947 commit 9a8ad58

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

.github/workflows/publish.yml

+8-1
Original file line numberDiff line numberDiff line change
@@ -79,13 +79,20 @@ jobs:
7979
run: |
8080
make release-docs VERSION=${RELEASE_TAG_VERSION} ALIAS="latest"
8181
poetry run mike set-default --push latest
82-
- name: Deploy all docs
82+
- name: Release API docs to release version
8383
uses: peaceiris/actions-gh-pages@v3
8484
with:
8585
github_token: ${{ secrets.GITHUB_TOKEN }}
8686
publish_dir: ./api
8787
keep_files: true
8888
destination_dir: ${{ env.RELEASE_TAG_VERSION }}/api
89+
- name: Release API docs to latest
90+
uses: peaceiris/actions-gh-pages@v3
91+
with:
92+
github_token: ${{ secrets.GITHUB_TOKEN }}
93+
publish_dir: ./api
94+
keep_files: true
95+
destination_dir: latest/api
8996

9097
sync_master:
9198
needs: release

0 commit comments

Comments
 (0)