File tree Expand file tree Collapse file tree 4 files changed +51
-742
lines changed Expand file tree Collapse file tree 4 files changed +51
-742
lines changed Original file line number Diff line number Diff line change @@ -3,8 +3,8 @@ name: Deploy Jekyll with GitHub Pages dependencies preinstalled
33
44on :
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 :
Original file line number Diff line number Diff line change 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+
Original file line number Diff line number Diff line change 11name : update-people
22
33on :
4+ push :
5+ branches :
6+ - feature/docs_migration_mkdocs
47 schedule :
58 - cron : " 0 12 1 * *"
69 workflow_dispatch : {}
You can’t perform that action at this time.
0 commit comments