Skip to content

Commit 9e6c32b

Browse files
authored
fix(ci): netlify ci monorepo integrations (nolebase#1)
* fix(ci): netlify ci monorepo integrations * chore: added redirect config
1 parent ad8dafe commit 9e6c32b

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

.github/workflows/preview-docs-deployment.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ jobs:
5555
uses: netlify/actions/cli@master
5656
timeout-minutes: 10
5757
with:
58-
args: deploy --dir=./docs/.vitepress/dist
58+
args: deploy --filter @nolebase/plugins-docs --dir=./docs/.vitepress/dist
5959
env:
6060
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}
6161
NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }}

.github/workflows/production-docs-deployment.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ jobs:
5555
uses: netlify/actions/cli@master
5656
timeout-minutes: 10
5757
with:
58-
args: deploy --dir=./docs/.vitepress/dist --prod
58+
args: deploy --filter @nolebase/plugins-docs --dir=./docs/.vitepress/dist --prod
5959
env:
6060
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}
6161
NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }}

docs/public/_redirects

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
/* /en/:splat 301
2-
/* /zh-CN/:splat 301 Language=zh-cn
1+
/* /pages/en/:splat 301
2+
/* /pages/zh-CN/:splat 301 Language=zh-cn

0 commit comments

Comments
 (0)