change ci.yaml
This commit is contained in:
parent
d9a882b9fd
commit
c7702dc23f
29
.github/workflows/ci.yml
vendored
29
.github/workflows/ci.yml
vendored
@ -1,27 +1,20 @@
|
|||||||
name: ci
|
name: Publish docs via GitHub Pages
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- master
|
|
||||||
- main
|
- main
|
||||||
permissions:
|
|
||||||
contents: write
|
|
||||||
jobs:
|
jobs:
|
||||||
deploy:
|
build:
|
||||||
|
name: Deploy docs
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- name: Checkout main
|
||||||
- uses: actions/setup-python@v4
|
uses: actions/checkout@v2
|
||||||
with:
|
|
||||||
python-version: 3.x
|
|
||||||
- uses: actions/cache@v2
|
|
||||||
with:
|
|
||||||
key: ${{ github.ref }}
|
|
||||||
path: .cache
|
|
||||||
- run: pip install mkdocs-material
|
|
||||||
- run: pip install pillow cairosvg
|
|
||||||
- run: mkdocs gh-deploy --force
|
|
||||||
|
|
||||||
|
- name: Deploy docs
|
||||||
|
uses: mhausenblas/mkdocs-deploy-gh-pages@master
|
||||||
|
# Or use mhausenblas/mkdocs-deploy-gh-pages@nomaterial to build without the mkdocs-material theme
|
||||||
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