1
0
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:
Mario Sarcher 2020-10-27 15:36:51 +01:00 committed by GitHub
parent 98449a0cda
commit 4f4c441f74
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -18,9 +18,20 @@ jobs:
repository: lensapp/docs
path: lensdocs
- name: Set up Python 3.7
uses: actions/setup-python@v2
with:
python-version: '3.x'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install mkdocs-material
- name: Deploy docs
uses: mhausenblas/mkdocs-deploy-gh-pages@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Build mkdocs
run: |
mkdocs build
cp -R site/* ./lensdocs/.
cd ./lensdocs/
git commit -am "Build mkdocs from GH-Actions"
git push