mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Update main.yml
This commit is contained in:
parent
98449a0cda
commit
4f4c441f74
21
.github/workflows/main.yml
vendored
21
.github/workflows/main.yml
vendored
@ -18,9 +18,20 @@ jobs:
|
|||||||
repository: lensapp/docs
|
repository: lensapp/docs
|
||||||
path: lensdocs
|
path: lensdocs
|
||||||
|
|
||||||
|
- name: Set up Python 3.7
|
||||||
- name: Deploy docs
|
uses: actions/setup-python@v2
|
||||||
uses: mhausenblas/mkdocs-deploy-gh-pages@master
|
with:
|
||||||
env:
|
python-version: '3.x'
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
- name: Install dependencies
|
||||||
|
run: |
|
||||||
|
python -m pip install --upgrade pip
|
||||||
|
pip install mkdocs-material
|
||||||
|
|
||||||
|
- name: Build mkdocs
|
||||||
|
run: |
|
||||||
|
mkdocs build
|
||||||
|
cp -R site/* ./lensdocs/.
|
||||||
|
cd ./lensdocs/
|
||||||
|
git commit -am "Build mkdocs from GH-Actions"
|
||||||
|
git push
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user