Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
kou029w committed Jul 29, 2024
1 parent e1e9265 commit 7c4911c
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ jobs:
mdbook build
- name: Commit
run: |
if git commit -am 'bot: update pages'; then
git add -f _pages
if git commit -m 'bot: update pages'; then
git push origin HEAD:"${{ github.ref }}"
fi
3 changes: 2 additions & 1 deletion _redirects
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ https://tutorial-chirimen-org.netlify.com/* https://tutorial.chirimen.org/:spl
/pizero/CHIRIMEN-Nodejs-examples /pizero/esm-examples

# Proxy for build artifacts generated by mdbook
/pizero/* /_pages/pizero/:splat 200
/pizero/*.html /pizero/:splat
/pizero/* /_pages/pizero/:splat 200

# Proxy polyfill and driver files
/raspi/examples/polyfill/* https://chirimen.org/chirimen-raspi3/gc/polyfill/:splat 200
Expand Down
2 changes: 1 addition & 1 deletion pizero/book.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ additional-js = [
"theme/sidebar.js",
]
default-theme = "light"
edit-url-template = "https://github.com/chirimen-oh/chirimen.org/edit/master/pizero/src/{path}"
edit-url-template = "https://github.com/chirimen-oh/chirimen.org/edit/master/pizero/{path}"
git-repository-url = "https://github.com/chirimen-oh/chirimen.org"
preferred-dark-theme = "light"
site-url = "/pizero/"

0 comments on commit 7c4911c

Please sign in to comment.