Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 0 additions & 8 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,14 +30,6 @@ jobs:
- run: npm run check
- run: npm test
- run: npm run build
# Links and canonical URLs end with a slash (/making/), but Void writes
# making.html, and GitHub Pages answers /making/ with a 404 unless
# making/index.html exists.
- run: |
find dist/client -name '*.html' ! -name index.html ! -name 404.html | while read -r file; do
mkdir -p "${file%.html}"
mv "$file" "${file%.html}/index.html"
done
- if: github.event_name != 'pull_request'
uses: actions/configure-pages@v6
- if: github.event_name != 'pull_request'
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ node_modules
dist
.void
.wrangler
.cloudflare
.void-wrangler.jsonc
.env
.env.*
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ PR で記録を送ってもらう場合は、本文に含まれる HTML が意
## 公開

`main` に入ると、GitHub Actions がビルドして GitHub Pages に公開します。
公開時は、`/making/` のような末尾スラッシュ付きの URL で開けるよう、CI で各ページの HTML を `x/index.html` の形に移します。
`/making/` のような末尾スラッシュ付きの URL で開けるよう、`void.config.ts` の `routing.trailingSlash` で各ページを `x/index.html` の形に書き出します。
PR では公開せず、`npm run check`、テスト、ビルドまでを行います。

依存の更新は Renovate が PR で届けます。
Loading
Loading