Merge pull request #233 from SwaragThaikkandi/renovate/actions-upload… #857
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "📜 Documentation builder" | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
docs: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 # To be able to push refs to destination repo | |
- name: Set up Python 🐍 | |
uses: actions/setup-python@v5 | |
with: | |
python-version: "3.10" | |
cache: "pip" | |
- name: Install dependencies 🏭 | |
run: | | |
python -m pip install --upgrade pip | |
pip install sphinx-book-theme | |
pip install sphinxemoji | |
pip install sphinx-copybutton | |
pip install ipykernel==6.23.2 | |
pip install ipython | |
pip install myst-parser | |
pip install myst-nb | |
pip install numpy | |
pip install pandas | |
pip install scipy | |
pip install scikit-learn | |
pip install matplotlib | |
pip install operator-courier | |
pip install contextlib2 | |
pip install pytest-warnings | |
pip install tqdm | |
pip install seaborn | |
pip install memory_profiler | |
pip install kuramoto | |
pip install networkx | |
pip install p_tqdm | |
pip install numba | |
pip install git+https://github.com/manu-mannattil/nolitsa.git | |
pip install git+https://github.com/SwaragThaikkandi/SMdRQA | |
- name: Build documentation 📜 | |
run: | | |
cd docs | |
sphinx-build -b html . _build | |
- name: Deploy 🚀 | |
uses: peaceiris/actions-gh-pages@v4 | |
with: | |
github_token: ${{ secrets.GH_TOKEN }} | |
publish_dir: ./docs/_build |