This is my professional web page to showcase my work and experience at se-vel.com.
This repo (sosegon/sosegon.github.io) is the deployment host. It does not contain the source code for the main site — it vendors it in via a git subtree. Two remotes are configured:
| Remote | URL | Purpose |
|---|---|---|
origin |
git@github.com:sosegon/sosegon.github.io.git |
This deployment repo |
se-vel-v2 |
git@github.com:sosegon/se-vel.git |
Source repo for the V2 site (SvelteKit) |
Pushing (or merging a PR) to the master branch of origin triggers the GitHub Actions workflow that builds and deploys the site to GitHub Pages.
Built with vanilla JavaScript, jQuery, and Bootstrap. Served from se-vel.com/v1. Source lives in the se-vel-v1/ directory of this repo.
Built with SvelteKit. The source lives in the external repo sosegon/se-vel and is vendored into the se-vel-v2/ directory here via a git subtree.
The workflow defined in .github/workflows/gh-pages.yml runs on every push to master. It:
- Installs dependencies and runs
npm run buildinsidese-vel-v2/ - Builds Storybook with
npm run build-storybook - Copies supporting assets (
CNAME,54071fdb.html,PrivacyPolicy.md) into the build output - Copies the other site sections (
se-vel-v1/,landing3d/,rendering/,watch-finder/) into the build output - Publishes the entire
se-vel-v2/build/directory to thegh-pagesbranch usingpeaceiris/actions-gh-pages
All content changes are made in the source repo (sosegon/se-vel). Once those changes are merged to its main branch, follow these steps to pull them into this repo and trigger deployment.
1. Make and merge your changes in the source repo
Work in git@github.com:sosegon/se-vel.git, open a PR there, and merge it to main.
2. Create a new branch in this repo
git checkout master
git pull origin master
git checkout -b update-se-vel-v23. Pull the updated subtree from the source repo
git pull se-vel-v2 main --allow-unrelated-historiesThis pulls the latest main from sosegon/se-vel and merges it into the se-vel-v2/ subtree prefix.
4. Push the branch to origin
git push origin update-se-vel-v25. Open and merge a pull request
Go to github.com/sosegon/sosegon.github.io, open a PR from update-se-vel-v2 → master, and merge it. Merging to master automatically triggers the build-and-deploy workflow.
You can monitor the deployment progress in the Actions tab of this repo.
If you are setting up this repo from scratch and the se-vel-v2/ subtree directory does not exist yet:
# Add the remote (already done if cloned from origin)
git remote add se-vel-v2 git@github.com:sosegon/se-vel.git
# Fetch the remote
git fetch se-vel-v2
# Add the source repo as a subtree under se-vel-v2/
git subtree add --prefix=se-vel-v2 se-vel-v2 mainAfter this initial setup, use the standard workflow above for all future updates.
- Do not remove
CNAMEor54071fdb.html. They are required for custom domain configuration. - All merges to
mastertrigger a deployment — keepmasterin a releasable state. - The
gh-pagesbranch is managed entirely by the CI workflow (force_orphan: true). Do not push to it manually.
- Complete the development of
landing3dto serve it from its own repo. - Complete the development of
watch-finderto serve it from its own repo. - Complete the development of
renderingto serve it from its own repo.