Skip to content

Commit 0547fd6

Browse files
authored
activating mkdocs workflow
1 parent 1ef2f00 commit 0547fd6

File tree

4 files changed

+51
-742
lines changed

4 files changed

+51
-742
lines changed

.github/workflows/jekyll-gh-pages.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ name: Deploy Jekyll with GitHub Pages dependencies preinstalled
33

44
on:
55
# Runs on pushes targeting the default branch
6-
push:
7-
branches: ["main"]
6+
# push:
7+
# branches: ["main"]
88

99
# Allows you to run this workflow manually from the Actions tab
1010
workflow_dispatch:
Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
name: Deploy MkDocs documentation
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
- f/mkdocs
8+
workflow_dispatch:
9+
10+
jobs:
11+
deploy:
12+
runs-on: ubuntu-latest
13+
env:
14+
GH_C17_DEV_TOKEN: ${{ secrets.GH_C17_DEV_TOKEN }}
15+
steps:
16+
- name: Checkout reflect-cpp repo
17+
uses: actions/checkout@v4
18+
19+
- name: Set up Python
20+
uses: actions/setup-python@v5
21+
with:
22+
python-version: 3.12
23+
24+
- name: Install Hatch
25+
uses: pypa/hatch@install
26+
with:
27+
version: 1.12.0
28+
29+
- name: Set git credentials
30+
run: |
31+
git config --global user.name "${{ github.actor }}"
32+
git config --global user.email "${{ github.actor }}@users.noreply.github.com"
33+
34+
- name: Fetch latest commit from gh-pages
35+
run: |
36+
git fetch origin gh-pages --depth=1
37+
38+
- name: Deploy MkDocs documentation
39+
run: hatch run insiders:mkdocs gh-deploy
40+
41+
42+
43+
44+
45+
46+

.github/workflows/update-people.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
name: update-people
22

33
on:
4+
push:
5+
branches:
6+
- feature/docs_migration_mkdocs
47
schedule:
58
- cron: "0 12 1 * *"
69
workflow_dispatch: {}

0 commit comments

Comments
 (0)