Skip to content

Commit

Permalink
docs about github vars
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthias Roggo committed Apr 19, 2024
1 parent 92523b0 commit 596a3f1
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 1 deletion.
20 changes: 20 additions & 0 deletions .github/workflows/configured.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
Configured on Github
====================

Global Config
-----
- `SSH_USER` githubactor
- must be allowed to `sudo` without password
- `SSH_HOST` v22015123209630421.goodsrv.de

Secrets
-------
- `SSH_KEY` Generated using `ssh-keygen`
- add to the SSH_USER's `authorized_keys` on SSH_HOST
- `KNOWN_HOSTS` Generated using `ssh-keyscan -H $SSH_HOST`


Prod Env Config
---------------
- `DOMAIN` hoelibu.ch
- `PROXY_PORT` 3000
2 changes: 1 addition & 1 deletion deploy/mup.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ module.exports = {
one: {
host: process.env.SSH_HOST,
username: process.env.SSH_USER,
pem: '~/.ssh/id_rsa',
pem: 'id_rsa_github_actor',
}
},

Expand Down

0 comments on commit 596a3f1

Please sign in to comment.