mirror of
https://github.com/jomjol/AI-on-the-edge-device-docs.git
synced 2025-12-06 03:26:54 +03:00
Update build-docs.yaml
This commit is contained in:
11
.github/workflows/build-docs.yaml
vendored
11
.github/workflows/build-docs.yaml
vendored
@@ -23,6 +23,14 @@ jobs:
|
||||
|
||||
# Steps represent a sequence of tasks that will be executed as part of the job
|
||||
steps:
|
||||
- name: Cache PIP
|
||||
uses: actions/cache@v3
|
||||
with:
|
||||
path: ~/.cache/pip
|
||||
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}
|
||||
restore-keys: |
|
||||
${{ runner.os }}-pip-
|
||||
|
||||
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
|
||||
- uses: actions/checkout@v2
|
||||
with:
|
||||
@@ -32,6 +40,7 @@ jobs:
|
||||
pip install --upgrade pip && pip install mkdocs mkdocs-gen-files mkdocs-awesome-pages-plugin mkdocs-material
|
||||
git config user.name 'github-actions[bot]'
|
||||
git config user.email 'github-actions[bot]@users.noreply.github.com'
|
||||
- name: Publish docs
|
||||
|
||||
- name: Store docs in gh-pages branch
|
||||
run: |
|
||||
mkdocs gh-deploy
|
||||
|
||||
Reference in New Issue
Block a user