Skip to content

Commit 282c8db

Browse files
Merge pull request #22 from hackforla/ExperimentsInHonesty-patch-9
Update deploy-docs.yml
2 parents 76132cc + da754ee commit 282c8db

1 file changed

Lines changed: 10 additions & 3 deletions

File tree

.github/workflows/deploy-docs.yml

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,34 @@
11
name: deploy-docs
2+
23
on:
34
push:
45
branches:
56
- main
7+
workflow_dispatch:
8+
69
jobs:
710
deploy:
811
runs-on: ubuntu-latest
912
permissions:
1013
contents: write
1114
steps:
1215
- uses: actions/checkout@v3
16+
1317
- uses: actions/setup-python@v4
1418
with:
1519
python-version: 3.x
16-
# - run: echo "cache_id=$(date --utc '+%V')" >> $GITHUB_ENV
20+
1721
- uses: actions/cache@v3
1822
with:
19-
key: mkdocs-material-${{ env.cache_id }}
23+
key: mkdocs-material
2024
path: .cache
2125
restore-keys: |
22-
mkdocs-material-
26+
mkdocs-material
27+
2328
- run: pip install \
29+
mkdocs \
2430
mkdocs-material==9.6.8 \
2531
mkdocs-awesome-pages-plugin==2.9.1 \
2632
mkdocs-autolinks-plugin==0.7.1
33+
2734
- run: mkdocs gh-deploy --force

0 commit comments

Comments
 (0)