Update main.yml

This commit is contained in:
Mario Sarcher authored and GitHub committed 2020-10-27 15:36:51 +01:00
1 parent 98449a0cda
commit 4f4c441f74
1 file changed
+16 -5
+16 -5
View File
@@ -18,9 +18,20 @@ jobs:
repository: lensapp/docs
path: lensdocs
- name: Deploy docs
uses: mhausenblas/mkdocs-deploy-gh-pages@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- 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: Build mkdocs
run: |
mkdocs build
cp -R site/* ./lensdocs/.
cd ./lensdocs/
git commit -am "Build mkdocs from GH-Actions"
git push