mirror of
https://github.com/Anduin2017/HowToCook.git
synced 2025-12-17 18:54:26 +08:00
Better built doc.
This commit is contained in:
6
.github/workflows/build.yml
vendored
6
.github/workflows/build.yml
vendored
@@ -14,7 +14,7 @@ on:
|
|||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
readme-gen:
|
Rebuild-everything:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
# Preparation.
|
# Preparation.
|
||||||
@@ -37,10 +37,8 @@ jobs:
|
|||||||
commit_user_name: github-actions[bot]
|
commit_user_name: github-actions[bot]
|
||||||
commit_user_email: github-actions[bot]@users.noreply.github.com
|
commit_user_email: github-actions[bot]@users.noreply.github.com
|
||||||
commit_author: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
|
commit_author: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
|
||||||
- uses: BSFishy/pip-action@v1
|
|
||||||
with:
|
|
||||||
requirements: requirements.txt
|
|
||||||
# Build docs
|
# Build docs
|
||||||
|
- run: rm ./node_modules -rvf
|
||||||
- uses: mhausenblas/mkdocs-deploy-gh-pages@master
|
- uses: mhausenblas/mkdocs-deploy-gh-pages@master
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|||||||
Reference in New Issue
Block a user