Goal:
- If
git push
onmaster
branch - Then sync files onto server and deploy (e.g., running
yarn run build
or any other scripts)
I’m on DigitalOcean’s server, but this works on any self hosted servers.
Continue readinggit push
on master
branchyarn run build
or any other scripts)I’m on DigitalOcean’s server, but this works on any self hosted servers.
Continue readingAllowing password login will undermine the safety of server, so instead we can set up SSH login for each user.
Continue readingSteps to change site URL without visual login panel:
What we want to achieve: