-
Create GitHub repository in github and save the SSH repository url
-
Init git on server in code directory
git init
- Create SSH keys on the server
ssh-keygen -t rsa -b 4096 -C [email protected]
- Rename the key that doesn't end with
.pub
torepo-name.deploy.pem