Skip to content

Commit

Permalink
Update publish-book.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
iamzoltan authored Jun 27, 2024
1 parent d394d69 commit 652358f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/publish-book.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ env:
NMA_MAIN_BRANCH: main
PREREQ_REPO: precourse
PREREQ_INTRO: NeuroAI
CHATIFY: true

# This job installs dependencies, build the book, and pushes it to `gh-pages`
jobs:
Expand Down Expand Up @@ -48,6 +49,7 @@ jobs:
echo ci/ >> .gitignore
- name: Install Chatify and Add to Notebooks
if: "$CHATIFY == true"
run: |
pip install -r ci/chatify/requirements.txt
python ci/chatify/process_notebooks.py
Expand Down Expand Up @@ -95,7 +97,7 @@ jobs:
- name: Build student book
run: |
python ci/generate_book.py student
jupyter-book toc migrate /home/runner/work/NeuroAI_Course/NeuroAI_Course/book/_toc.yml -o /home/runner/work/NeuroAI_Course/NeuroAI_Course/book/_toc.yml
jupyter-book toc migrate /home/runner/work/chatify_NeuroAI_Course/chatify_NeuroAI_Course/book/_toc.yml -o /home/runner/work/chatify_NeuroAI_Course/chatify_NeuroAI_Course/book/_toc.yml
ln -s ../tutorials book/tutorials
ln -s ../projects book/projects
ln -s ../prereqs book/prereqs
Expand Down

0 comments on commit 652358f

Please sign in to comment.