Skip to content

Commit

Permalink
Update publish-book.yaml
Browse files Browse the repository at this point in the history
test pilot branch build
  • Loading branch information
iamzoltan authored Dec 20, 2023
1 parent d9caad6 commit 725c09c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/publish-book.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,8 @@ jobs:
- name: Copy tutorials from course-content repo
run: |
BRANCH=`python -c 'import os, re; m = re.search(r"course-content:([\w-]+)", os.environ["COMMIT_MESSAGE"]); print("main" if m is None else m.group(1))'`
# BRANCH=`python -c 'import os, re; m = re.search(r"course-content:([\w-]+)", os.environ["COMMIT_MESSAGE"]); print("main" if m is None else m.group(1))'`
BRANCH=pilot
wget https://github.com/NeuromatchAcademy/course-content/archive/refs/heads/$BRANCH.tar.gz
tar -xzf $BRANCH.tar.gz
mv course-content-$BRANCH/tutorials tutorials/
Expand Down

0 comments on commit 725c09c

Please sign in to comment.