npx quartz create
- Spin up a VPS
- Install docker
- Install a github runner on it
- Run the runner as a service
- Git clone the repository to the same machine - use a deployment SSH key
- Setup NGINX reverse proxy on the server with certbot
Each deploy should have its own user (because of deployment SSH keys, otherwise a magic with ~/.ssh/config file has to be made to make GIT use different keys for different github repos)
Thank you very much, Jacky Zhao.