fixed github actions
This commit is contained in:
parent
7e0b8b58ea
commit
deb77af613
32
.github/workflows/ci.yml
vendored
32
.github/workflows/ci.yml
vendored
@ -1,20 +1,28 @@
|
|||||||
name: Publish docs via GitHub Pages
|
name: ci
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
|
- master
|
||||||
- main
|
- main
|
||||||
|
permissions:
|
||||||
|
contents: write
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
deploy:
|
||||||
name: Deploy docs
|
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout main
|
- uses: actions/checkout@v3
|
||||||
uses: actions/checkout@v2
|
- uses: actions/setup-python@v4
|
||||||
|
with:
|
||||||
- name: Deploy docs
|
python-version: 3.x
|
||||||
uses: mhausenblas/mkdocs-deploy-gh-pages@master
|
- uses: actions/cache@v2
|
||||||
# Or use mhausenblas/mkdocs-deploy-gh-pages@nomaterial to build without the mkdocs-material theme
|
with:
|
||||||
|
key: ${{ github.ref }}
|
||||||
|
path: .cache
|
||||||
|
- run: pip install mkdocs-material
|
||||||
|
- run: pip install pillow cairosvg
|
||||||
|
- run: mkdocs gh-deploy --force
|
||||||
|
|
||||||
env:
|
env:
|
||||||
CUSTOM_DOMAIN: ros.locker98.com
|
CUSTOM_DOMAIN: ros.locker98.com
|
||||||
GITHUB_DOMAIN: ros.locker98.com
|
GITHUB_DOMAIN: ros.locker98.com
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user