8000 fix style · zemit-cms/docs@9036082 · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

fix style

fix style #13

Workflow file for this run

name: Build and Deploy MkDocs
on:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.x' # Python 3.x to match the Docker setup
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install mkdocs \
mkdocs-material \
mkdocs-exclude \
mkdocs-material-extensions \
mkdocs-minify-plugin \
mkdocs-git-authors-plugin \
mkdocs-git-committers-plugin \
mkdocs-git-revision-date-localized-plugin \
"mkdocs-material[imaging]" \
pymdown-extensions \
neoteroi-mkdocs \
pillow \
cairosvg
- name: Build MkDocs site
run: mkdocs build --verbose
env:
CD: true
- name: Create .nojekyll file
run: touch ./site/.nojekyll
- name: Copy CNAME file
run: echo "docs.zemit.com" > ./site/CNAME
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./site
force_orphan: true
0