Skip to content

Commit

Permalink
Update publish-book.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
iamzoltan authored Jun 13, 2024
1 parent 8df4f9e commit a642f0c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/publish-book.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ env:
NB_KERNEL: python
NMA_REPO: instructor-course-content
NMA_MAIN_BRANCH: main
PREREQ_INTRO: ComputationalNeuroscience

ORG: neuromatch

# This job installs dependencies, build the book, and pushes it to `gh-pages`
jobs:
Expand Down Expand Up @@ -35,7 +38,7 @@ jobs:
- name: Install CI tools
run: |
BRANCH=`python -c 'import os, re; m = re.search(r"nmaci:([\w-]+)", os.environ["COMMIT_MESSAGE"]); print("main" if m is None else m.group(1))'`
wget https://github.com/NeuromatchAcademy/nmaci/archive/refs/heads/$BRANCH.tar.gz
wget https://github.com/neuromatch/nmaci/archive/refs/heads/$BRANCH.tar.gz
tar -xzf $BRANCH.tar.gz
pip install --upgrade pip
pip install -r nmaci-$BRANCH/requirements.txt
Expand Down

0 comments on commit a642f0c

Please sign in to comment.