Skip to content

Commit

Permalink
Setup CI for mkdocs and remove Jekyll's
Browse files Browse the repository at this point in the history
  • Loading branch information
singiamtel committed Jun 19, 2024
1 parent ffab702 commit 1df0f28
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 24 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/documentation.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: ci
on:
push:
branches:
- master
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@v5
with:
python-version: 3.x
- run: echo "cache_id=$(date --utc '+%V')" >> $GITHUB_ENV
- uses: actions/cache@v4
with:
key: mkdocs-material-${{ env.cache_id }}
path: .cache
restore-keys: |
mkdocs-material-
- run: |
pip install mkdocs-material
cd docs
mkdocs gh-deploy --force # Always keep in sync with master branch
15 changes: 0 additions & 15 deletions .github/workflows/pr-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -123,18 +123,3 @@ jobs:

- name: Run linters
run: tox -e lint

documentation:
name: documentation
runs-on: ubuntu-latest
container:
image: jekyll/jekyll

steps:
- uses: actions/checkout@v3

- name: Test documentation
run: |
chmod -R a+rwX .
jekyll build -s docs -d _site --baseurl .
script/custom_htmlproofer.rb
9 changes: 0 additions & 9 deletions script/custom_htmlproofer.rb

This file was deleted.

0 comments on commit 1df0f28

Please sign in to comment.