Skip to content

Commit b0b8df4

Browse files
committed
chore: deploy pages action update
1 parent fac0489 commit b0b8df4

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/deploy-docs.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ on:
77
- "docs/**"
88
- "mkdocs.yml"
99
- "packages/async-storage/CHANGELOG.md"
10+
- ".github/CONTRIBUTING.md"
11+
- "README.md"
1012
workflow_dispatch:
1113
jobs:
1214
deploy-docs:
@@ -40,4 +42,6 @@ jobs:
4042
run: |
4143
git remote add docs https://github.com/react-native-async-storage/react-native-async-storage.github.io.git
4244
- name: Deploy Docs with mike
43-
run: mike deploy -u -r docs --push ${{ steps.version.outputs.versionDocs }} latest
45+
run: |
46+
mike deploy -r docs ${{ steps.version.outputs.versionDocs }} -u --push latest
47+
mike set-default -r docs ${{ steps.version.outputs.versionDocs }} --push

0 commit comments

Comments
 (0)