This project is a React + Vite source repository for the page published at https://lucasischow.github.io/.
- Push changes to
main. - GitHub Actions runs the same
gh-pagesdeployment flow used locally. - The generated
dist/files are pushed intolucasischow/lucasischow.github.io. - GitHub Pages serves the updated root site from that target repository.
Large demos can stay in the target Pages repository and be linked from this app.
- Default env file:
.env - Production env file:
.env.production - Default demo base URL in production:
https://lucasischow.github.io - Override it in GitHub repository variables with
VITE_DEMO_BASE_URL
Example:
- Portfolio page:
https://lucasischow.github.io/ - Demo link in data:
/demos/misc/paint-board - Resolved demo URL:
https://lucasischow.github.io/demos/misc/paint-board
- No more copying build output into another local repository by hand
- This repo stays focused on page code
- Demos can remain in the Pages repository
Add a repository secret named PAGES_DEPLOY_KEY in this source repository.
It should be the private SSH key for a keypair that has push access to lucasischow/lucasischow.github.io.