Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit b0eda8f

Browse files
test
1 parent 614780e commit b0eda8f

File tree

2 files changed

+13
-8
lines changed

2 files changed

+13
-8
lines changed

‎.github/workflows/convert-to-qmd.yml‎

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -47,12 +47,17 @@ jobs:
4747
sed -i '/<section class="table-of-contents">/,/<\/section>/{//!d}' book_repo/linear-algebra-with-python-book/index.html
4848
sed -i "/<section class=\"table-of-contents\">/a $toc" book_repo/linear-algebra-with-python-book/index.html
4949
50+
- name: Set up Git remote with PAT
51+
run: |
52+
cd book_repo
53+
git remote set-url origin https://$GITHUB_ACTOR:${{ secrets.PERSONAL_ACCESS_TOKEN }}@github.com/weijie-chen/weijie-chen.github.io.git
54+
5055
- name: Commit and Push Changes
5156
run: |
52-
cd book_repo
53-
git config user.name "GitHub Actions"
54-
git config user.email "actions@github.com"
55-
git add linear-algebra-with-python-book/chapters/*
56-
git add linear-algebra-with-python-book/index.html
57-
git commit -m "Updated chapters and Table of Contents"
58-
git push https://$GITHUB_ACTOR:${{ secrets.PERSONAL_ACCESS_TOKEN }}@github.com/weijie-chen/weijie-chen.github.io.git
57+
cd book_repo
58+
git config user.name "GitHub Actions"
59+
git config user.email "actions@github.com"
60+
git add linear-algebra-with-python-book/chapters/*
61+
git add linear-algebra-with-python-book/index.html
62+
git commit -m "Updated chapters and Table of Contents"
63+
git push origin master

‎notebooks/Chapter 2 - Basic Matrix Algebra.ipynb‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
"outputs": [],
2929
"source": [
3030
"from IPython.core.interactiveshell import InteractiveShell\n",
31-
"InteractiveShell.ast_node_interactivity = \"all\" # display multiple lines"
31+
"InteractiveShell.ast_node_interactivity = \"all\" # display multiple lines"
3232
]
3333
},
3434
{

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /