-
-
Notifications
You must be signed in to change notification settings - Fork 26
27 lines (26 loc) · 748 Bytes
/
ci_docs.yaml
File metadata and controls
27 lines (26 loc) · 748 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
name: cd docs
on:
push:
branches:
- master
- main
paths:
- 'Documentation/src/*'
- '.github/workflows/ci_docs.yaml'
permissions:
contents: write
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Configure Git Credentials
run: |
git config user.name github-actions[bot]
git config user.email 41898282+github-actions[bot]@users.noreply.github.com
- uses: actions/setup-python@v4
with:
python-version: 3.9
- run: pip install mkdocs
- run: pip install -r Documentation/src/requirements.txt
- run: mkdocs gh-deploy --force --config-file Documentation/src//mkdocs.yml