We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 7e8c1b4 + 806ed7c commit cd575f9Copy full SHA for cd575f9
1 file changed
.github/workflows/publish-book.yml
@@ -20,7 +20,6 @@ jobs:
20
- name: Checkout
21
uses: actions/checkout@v3
22
with:
23
- persist-credentials: false
24
fetch-depth: 0
25
26
- name: Get commit message
@@ -80,15 +79,8 @@ jobs:
80
79
jupyter-book build book
81
python ci/parse_html_for_errors.py student
82
83
- - name: Commit book
+ - name: Publish to gh-pages
84
run: |
85
git config --local user.email "action@github.com"
86
git config --local user.name "GitHub Action"
87
- ghp-import -n -c "neuroai.neuromatch.io" -m "Update course book" book/_build/html
88
-
89
- - name: Publish to gh-pages
90
- uses: ad-m/github-push-action@v0.6.0
91
- with:
92
- github_token: ${{ secrets.GITHUB_TOKEN }}
93
- branch: gh-pages
94
- force: true
+ ghp-import -n -p -f -c "neuroai.neuromatch.io" -m "Update course book" book/_build/html
0 commit comments