Skip to content

Commit 8d7f60b

Browse files
authored
Create cidoc.yml
1 parent 4cb7fad commit 8d7f60b

1 file changed

Lines changed: 34 additions & 0 deletions

File tree

.github/workflows/cidoc.yml

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
name: cidoc
2+
on:
3+
push:
4+
branches:
5+
- master
6+
- main
7+
permissions:
8+
contents: write
9+
jobs:
10+
deploy:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/checkout@v4
14+
- name: Configure Git Credentials
15+
run: |
16+
git config user.name github-actions[bot]
17+
git config user.email 41898282+github-actions[bot]@users.noreply.github.com
18+
- uses: actions/setup-python@v5
19+
with:
20+
python-version: 3.x
21+
- run: echo "cache_id=$(date --utc '+%V')" >> $GITHUB_ENV
22+
23+
24+
- uses: actions/cache@v4
25+
with:
26+
key: mkdocs-material-${{ env.cache_id }}
27+
path: .cache
28+
29+
restore-keys: |
30+
mkdocs-material-
31+
- run: pip install mkdocs-material
32+
33+
34+
- run: mkdocs gh-deploy --force

0 commit comments

Comments
 (0)