-
Notifications
You must be signed in to change notification settings - Fork 574
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
f50f9ac
commit cbb1afa
Showing
2 changed files
with
5 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,11 +6,12 @@ on: | |
- 'notebooks/**.ipynb' | ||
|
||
jobs: | ||
permissions: | ||
contents: write | ||
convert-and-copy: | ||
runs-on: ubuntu-latest | ||
|
||
permissions: | ||
contents: write # Grant permissions to write content to the repository | ||
|
||
steps: | ||
- name: Checkout the Linear_Algebra_with_Python repository | ||
uses: actions/[email protected] | ||
|
@@ -55,12 +56,11 @@ jobs: | |
git remote set-url origin https://$GITHUB_ACTOR:${{ secrets.PERSONAL_ACCESS_TOKEN }}@github.com/weijie-chen/weijie-chen.github.io.git | ||
- name: Commit and Push Changes | ||
|
||
run: | | ||
cd book_repo | ||
git config user.name "GitHub Actions" | ||
git config user.email "[email protected]" | ||
git add linear-algebra-with-python-book/chapters/* | ||
git add linear-algebra-with-python-book/index.html | ||
git commit -m "Updated chapters and Table of Contents" | ||
git push origin main | ||
git push origin main |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters