adapt
This commit is contained in:
@@ -22,18 +22,6 @@ jobs:
|
||||
with:
|
||||
path: docs
|
||||
|
||||
# - name: Install system dependencies
|
||||
# run: |
|
||||
# sudo apt-get update
|
||||
# sudo apt-get install -y python3-pip jupyter-notebook python3-anyio python3-greenlet python3-click \
|
||||
# python3-jupyter-server python3-sqlalchemy python3-latexcodec python3-nbclient \
|
||||
# python3-nest-asyncio python3-smmap python3-soupsieve python3-toml
|
||||
|
||||
# - name: Install Jupyter Book 0.14.0
|
||||
# run: |
|
||||
# python3 -m pip install --upgrade pip
|
||||
# pip install jupyter-book==0.14.0
|
||||
|
||||
- name: Verify Python version
|
||||
run: pip3 install mkdocs-material
|
||||
|
||||
@@ -41,7 +29,7 @@ jobs:
|
||||
run: |
|
||||
mv docs/.git .
|
||||
mv docs/mkdocs.yml .
|
||||
- name: Build Jupyter Book
|
||||
- name: Build Documentation
|
||||
run: mkdocs build --site-dir public
|
||||
|
||||
- name: Configure Git
|
||||
@@ -60,5 +48,5 @@ jobs:
|
||||
mv public/* .
|
||||
git add .
|
||||
git commit -m "Deploy site"
|
||||
git push -f https://${{secrets.GITHUB_TOKEN}}@gitea.psi.ch/linux/gitea-pages.git gitea-pages
|
||||
git push -f https://${{secrets.GITHUB_TOKEN}}@gitea.psi.ch/Controls/gitea-pages.git gitea-pages
|
||||
|
||||
|
||||
Reference in New Issue
Block a user