Skip to content

Commit

Permalink
added auto-activate-base: false
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelweinold committed May 15, 2023
1 parent 3b45877 commit 7427a1b
Showing 1 changed file with 9 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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 .
Expand Down

0 comments on commit 7427a1b

Please sign in to comment.