Skip to content

Deployment

Jon Prentice edited this page Oct 1, 2021 · 5 revisions

Local repo setup

We're assuming that you've gotten your public key added to ~git/.ssh/authorized_keys on the server. Note that it's a good idea to create a new keypair for use with this server.

git clone [email protected]:CalPolySEC/thewhitehat.club.git
cd thewhitehat.club
git remote add production [email protected]:thewhitehat.club

To deploy the site, just run git push production, and the server will handle it from there.

Clone this wiki locally