docs: remove unnecessary nojekyll for GitHub Actions deployment (#3630)

pull/3633/head
Pavel Horal 9 months ago committed by GitHub
parent 489391cdbe
commit 90eab25b70
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -168,9 +168,7 @@ Don't enable options like _Auto Minify_ for HTML code. It will remove comments f
- name: Install dependencies - name: Install dependencies
run: npm ci # or pnpm install / yarn install / bun install run: npm ci # or pnpm install / yarn install / bun install
- name: Build with VitePress - name: Build with VitePress
run: | run: npm run docs:build # or pnpm docs:build / yarn docs:build / bun run docs:build
npm run docs:build # or pnpm docs:build / yarn docs:build / bun run docs:build
touch docs/.vitepress/dist/.nojekyll
- name: Upload artifact - name: Upload artifact
uses: actions/upload-pages-artifact@v3 uses: actions/upload-pages-artifact@v3
with: with:

@ -168,9 +168,7 @@ Cache-Control: max-age=31536000,immutable
- name: Install dependencies - name: Install dependencies
run: npm ci # 或 pnpm install / yarn install / bun install run: npm ci # 或 pnpm install / yarn install / bun install
- name: Build with VitePress - name: Build with VitePress
run: | run: npm run docs:build # 或 pnpm docs:build / yarn docs:build / bun run docs:build
npm run docs:build # 或 pnpm docs:build / yarn docs:build / bun run docs:build
touch docs/.vitepress/dist/.nojekyll
- name: Upload artifact - name: Upload artifact
uses: actions/upload-pages-artifact@v3 uses: actions/upload-pages-artifact@v3
with: with:

Loading…
Cancel
Save