Skip to content

Commit bd6b76c

Browse files
committed
chore(ci): update docs workflow
1 parent 65b0263 commit bd6b76c

1 file changed

Lines changed: 9 additions & 12 deletions

File tree

.github/workflows/docs.yml

Lines changed: 9 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: ci
1+
name: docs
22
on:
33
push:
44
branches:
@@ -9,17 +9,14 @@ jobs:
99
deploy:
1010
runs-on: ubuntu-latest
1111
steps:
12-
- uses: actions/checkout@v3
13-
- uses: actions/setup-python@v4
12+
- uses: actions/checkout@v4
13+
- uses: actions/setup-python@v5
1414
with:
15-
python-version: 3.x
16-
- uses: actions/cache@v2
15+
python-version: '3.x'
16+
- uses: actions/cache@v4
1717
with:
18-
key: ${{ github.ref }}
19-
path: .cache
20-
- run: pip install mkdocs-macros-plugin
21-
- run: pip install mkdocs-material
22-
- run: pip install mkdocstrings[python]
23-
- run: pip install black
24-
- run: pip install pywhispercpp
18+
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}
19+
path: ~/.cache/pip
20+
- run: |
21+
pip install mkdocs-macros-plugin mkdocs-material mkdocstrings[python] black pywhispercpp
2522
- run: mkdocs gh-deploy --force

0 commit comments

Comments
 (0)