Skip to content

Commit 59ed26c

Browse files
committed
Merge remote-tracking branch 'origin/develop' into develop
2 parents 17a6c12 + 4a435cc commit 59ed26c

File tree

1 file changed

+15
-34
lines changed

1 file changed

+15
-34
lines changed

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

Lines changed: 15 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -1,64 +1,45 @@
1-
# Sample workflow for building and deploying a Jekyll site to GitHub Pages
21
name: Docs deploy
32

43
on:
5-
# Runs on pushes targeting the default branch
64
push:
75
branches: ["develop"]
8-
9-
# Allows you to run this workflow manually from the Actions tab
106
workflow_dispatch:
117

12-
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
138
permissions:
149
contents: read
1510
pages: write
1611
id-token: write
1712

18-
# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
19-
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
2013
concurrency:
2114
group: "pages"
2215
cancel-in-progress: false
2316

2417
jobs:
25-
# Build job
2618
build:
2719
runs-on: ubuntu-latest
2820
steps:
29-
- name: Checkout
21+
- name: Checkout repository
3022
uses: actions/checkout@v4
31-
- name: Setup Pages
32-
uses: actions/configure-pages@v5
33-
- name: Setup Ruby
34-
uses: ruby/setup-ruby@086ffb1a2090c870a3f881cc91ea83aa4243d408 # v1.161.0
35-
with:
36-
ruby-version: '3.1' # Not needed with a .ruby-version file
37-
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
38-
cache-version: 0 # Increment this number if you need to re-download cached gems
3923

40-
- name: Install Jekyll and Dependencies
24+
- name: Setup Python
25+
uses: actions/setup-python@v5
26+
with:
27+
python-version: '3.x'
28+
29+
- name: Install MkDocs and dependencies
4130
run: |
4231
cd docs
43-
bundle install
44-
bundle exec which jekyll # Debug: Check if Jekyll is installed
45-
46-
- name: Setup Pages
47-
id: pages
48-
uses: actions/configure-pages@v5
49-
- name: Build with Jekyll
50-
# Outputs to the './_site' directory by default
51-
# Sample workflow for building and deploying a Jekyll site to GitHub Pages
52-
run: cd docs && bundle exec jekyll build --destination ../_site
53-
env:
54-
JEKYLL_ENV: production
32+
pip install -r requirements.txt
33+
34+
- name: Build MkDocs site
35+
run: |
36+
mkdocs build --site-dir site
37+
5538
- name: Upload artifact
56-
# Automatically uploads an artifact from the './_site' directory by default
5739
uses: actions/upload-pages-artifact@v3
5840
with:
59-
path: _site
60-
61-
# Deployment job
41+
path: site
42+
6243
deploy:
6344
environment:
6445
name: github-pages

0 commit comments

Comments
 (0)