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 d2c80f7

Browse files
test
1 parent 8949495 commit d2c80f7

File tree

2 files changed

+5
-7
lines changed

2 files changed

+5
-7
lines changed

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

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
runs-on: ubuntu-latest
1111

1212
permissions:
13-
contents: write # Grant permissions to write content to the repository
13+
contents: write # Ensure the job has write permissions
1414

1515
steps:
1616
- name: Checkout the Linear_Algebra_with_Python repository
@@ -50,10 +50,8 @@ jobs:
5050
sed -i '/<section class="table-of-contents">/,/<\/section>/{//!d}' book_repo/linear-algebra-with-python-book/index.html
5151
sed -i "/<section class=\"table-of-contents\">/a $toc" book_repo/linear-algebra-with-python-book/index.html
5252
53-
- name: Set up Git remote with PAT
54-
run: |
55-
cd book_repo
56-
git remote set-url origin https://$GITHUB_ACTOR:${{ secrets.PERSONAL_ACCESS_TOKEN }}@github.com/weijie-chen/weijie-chen.github.io.git
53+
- name: Remove extraheader to avoid conflicts with PAT
54+
run: git config --unset-all http.https://github.com/.extraheader
5755

5856
- name: Commit and Push Changes
5957
run: |
@@ -63,4 +61,4 @@ jobs:
6361
git add linear-algebra-with-python-book/chapters/*
6462
git add linear-algebra-with-python-book/index.html
6563
git commit -m "Updated chapters and Table of Contents"
66-
git push origin main:master
64+
git push origin main

‎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 によって変換されたページ (->オリジナル) /