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
19
.github/workflows/main.yml
vendored
19
.github/workflows/main.yml
vendored
@ -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
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user