-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
681c9ec
commit 7cc85ff
Showing
1 changed file
with
31 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
# This is better-ripe initiative website | ||
|
||
## Deployment runbook | ||
|
||
### 1. Install dependencies on remote host | ||
|
||
TODO | ||
|
||
### 2. Generate new ssh key on your machine | ||
|
||
```bash | ||
ssh-keygen -t rsa -b 4096 -C "$(git config user.email)" -f gh-deploy -N "" | ||
``` | ||
|
||
### 3. Add new ssh key to your GitHub account | ||
|
||
* Next, Go to Repository Settings | ||
* * Go to Deploy Keys and add your public key with the Allow write access | ||
* * Go to Secrets and add your private key as ACTIONS_DEPLOY_KEY | ||
|
||
### 4. Add new ssh key to your remote host | ||
|
||
```bash | ||
ssh-copy-id -i gh-deploy.pub deploy@remotehost | ||
``` | ||
|
||
### 5. Add remote host to your repository variables | ||
|
||
* Go to Repository Settings | ||
* Go to Secrets and add your remote host as ACTIONS_DEPLOY_HOST | ||
|