- Pull latest code from Github:
git fetch && git pull origin master
- Install latest packages:
npm install
- Run vite server to view the project locally:
npm run dev
- Make code changes as required - they should automatically update in the browser. Ctrl+c to stop.
- Build the production site:
npm run build
- Add latest changes to git:
git add .
- Add commit message:
git commit -m "Some info about the changes"
- Push changes to github:
git push origin master
- Github actions will deploy latest version to Github Pages: should take ~60s for the prod site to be updated