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
+15 -4
+15 -4
View File
@@ -18,9 +18,20 @@ jobs:
repository: lensapp/docs repository: lensapp/docs
path: lensdocs 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 - name: Build mkdocs
uses: mhausenblas/mkdocs-deploy-gh-pages@master run: |
env: mkdocs build
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} cp -R site/* ./lensdocs/.
cd ./lensdocs/
git commit -am "Build mkdocs from GH-Actions"
git push