From 7427a1b7855e31d6d2c4503ec2793d1b54f60292 Mon Sep 17 00:00:00 2001 From: Michael Weinold <23102087+michaelweinold@users.noreply.github.com> Date: Mon, 15 May 2023 17:15:52 +0200 Subject: [PATCH] added auto-activate-base: false --- .../{deploy-book.yml => build-and-deploy-book.yml} | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) rename .github/workflows/{deploy-book.yml => build-and-deploy-book.yml} (81%) diff --git a/.github/workflows/deploy-book.yml b/.github/workflows/build-and-deploy-book.yml similarity index 81% rename from .github/workflows/deploy-book.yml rename to .github/workflows/build-and-deploy-book.yml index 15d162c..d77f535 100644 --- a/.github/workflows/deploy-book.yml +++ b/.github/workflows/build-and-deploy-book.yml @@ -3,12 +3,11 @@ name: build-and-deploy-book on: workflow_dispatch: # manually trigger the workflow push: # trigger the workflow on push events - branches: # only trigger when changes are pushed to the main branch + branches: - main paths: # only trigger when files within this directory change - content -# This job installs dependencies, builds the book, and pushes it to `gh-pages` jobs: deploy-book: runs-on: ubuntu-latest @@ -23,9 +22,17 @@ jobs: auto-update-conda: true environment-file: ./environment.yml activate-environment: jbook + auto-activate-base: false miniforge-variant: Mambaforge miniforge-version: latest + - name: Display Conda information + run: | + conda config --show-sources + conda config --show + conda info + conda list + - name: Build the book run: | jupyter-book build .