Skip to content

Commit

Permalink
Add README for deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
nuclearcat committed Apr 23, 2024
1 parent 681c9ec commit 7cc85ff
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions README
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

0 comments on commit 7cc85ff

Please sign in to comment.