Skip to content

Commit 90eab25

Browse files
authored
docs: remove unnecessary nojekyll for GitHub Actions deployment (#3630)
1 parent 489391c commit 90eab25

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

Diff for: docs/guide/deploy.md

+1-3
Original file line numberDiff line numberDiff line change
@@ -168,9 +168,7 @@ Don't enable options like _Auto Minify_ for HTML code. It will remove comments f
168168
- name: Install dependencies
169169
run: npm ci # or pnpm install / yarn install / bun install
170170
- name: Build with VitePress
171-
run: |
172-
npm run docs:build # or pnpm docs:build / yarn docs:build / bun run docs:build
173-
touch docs/.vitepress/dist/.nojekyll
171+
run: npm run docs:build # or pnpm docs:build / yarn docs:build / bun run docs:build
174172
- name: Upload artifact
175173
uses: actions/upload-pages-artifact@v3
176174
with:

Diff for: docs/zh/guide/deploy.md

+1-3
Original file line numberDiff line numberDiff line change
@@ -168,9 +168,7 @@ Cache-Control: max-age=31536000,immutable
168168
- name: Install dependencies
169169
run: npm ci # 或 pnpm install / yarn install / bun install
170170
- name: Build with VitePress
171-
run: |
172-
npm run docs:build # 或 pnpm docs:build / yarn docs:build / bun run docs:build
173-
touch docs/.vitepress/dist/.nojekyll
171+
run: npm run docs:build # 或 pnpm docs:build / yarn docs:build / bun run docs:build
174172
- name: Upload artifact
175173
uses: actions/upload-pages-artifact@v3
176174
with:

0 commit comments

Comments
 (0)