From 27e6826e9cf606dc96c3b19f25491dc8d1396f3a Mon Sep 17 00:00:00 2001 From: Gabriel Stefanini Vicente Date: Thu, 9 Mar 2023 15:11:46 -0500 Subject: [PATCH] Migrate to actions/setup-python (#9) --- .github/workflows/gh-pages.yml | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/.github/workflows/gh-pages.yml b/.github/workflows/gh-pages.yml index c6a145e..ef1f761 100644 --- a/.github/workflows/gh-pages.yml +++ b/.github/workflows/gh-pages.yml @@ -10,17 +10,14 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - - uses: conda-incubator/setup-miniconda@v2 + - name: Set up Python + uses: actions/setup-python@v4 with: - environment-file: environment.yml - auto-activate-base: false + cache: "pip" - name: Dependencies - shell: bash -l {0} run: | - conda install pip if [ -f docs/requirements.txt ]; then pip install -r docs/requirements.txt; fi - - name: Build - shell: bash -l {0} + - name: Build Jupyter Book run: | jupyter-book build . --config docs/_config.yml --toc docs/_toc.yml - name: Deploy