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
2 changes: 2 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
push:
branches:
- main
pull_request:
workflow_dispatch:

permissions:
Expand Down Expand Up @@ -40,6 +41,7 @@ jobs:
path: dist

deploy:
if: github.event_name == 'push'
needs: build
runs-on: ubuntu-latest
environment:
Expand Down
18 changes: 14 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,10 +58,14 @@ public/ # Files served as-is (favicon, images)

## Contributing

1. Fork or clone the repo and create a feature branch.
2. Make your changes with clear, accessible copy. Favor data-driven component props when adding new sections.
3. Run `npm run check` before opening a pull request to ensure lint, type, and Astro diagnostics all pass.
4. Describe what you changed and, if applicable, attach screenshots of UI updates for quicker reviews.
1. Fork or clone the repo, then branch from `main`.
2. Make your changes and commit on your branch.
3. Before submitting a pull request:
1. Ensure your local branch is up to date with `main`.
2. Run `npm run check` to ensure lint, type, and Astro diagnostics all pass.
4. Push your branch to the remote repository.
5. Open a pull request, describing what you changed.
6. Request a review.

## Ideas for Contributions

Expand All @@ -71,6 +75,12 @@ public/ # Files served as-is (favicon, images)
- Add tests or visual regression tooling for future redesigns.
- Internationalization or localization improvements for Japanese/English visitors.

## Deployment

- The site is deployed automatically to [GitHub Pages](https://kyoto-tech.github.io) via the workflow in `.github/workflows/deploy.yml`.
- Any push to `main` triggers `npm ci`, `npm run build`, and then publishes the `dist/` directory using `actions/deploy-pages`.
- To test a production build locally, use `npm run build && npm run preview`.

## Interacting with the community

- **Want to report a bug or suggest a feature?**
Expand Down