Skip to content

cytobi/cytobi.github.io

Repository files navigation

cytobi.github.io

this is the repository to my website on github pages

how to do this yourself

  • setup a github pages project by creating a repository called username.github.io where username is your github username
  • scaffold a vue + vite project:
npm create vite@latest
  • build your project:
npm run build
  • make sure to remove dist from the standard .gitignore in the vite template
  • commit & push everything
  • run the following git command to create a branch called gh-pages as a subtree of your main branch, meaning that gh-pages will contain everything in your dist folder and nothing else
git subtree push --prefix dist origin gh-pages
  • go into the settings of your repository and under "Pages" set gh-pages as the branch to deploy from

now you're all set up!

remember to repeat the build and subtree commands to update the website

issues

i started using issues like a todo list for myself, so they don't always make sense without context. feel free to create an issue though if there is anything.

contributors

license

MIT

About

My Github Pages website

Resources

License

Stars

Watchers

Forks