From 596a3f10d431246a730c35f336b3b21d43cf6b29 Mon Sep 17 00:00:00 2001 From: Matthias Roggo Date: Fri, 19 Apr 2024 15:55:03 +0200 Subject: [PATCH] docs about github vars --- .github/workflows/configured.md | 20 ++++++++++++++++++++ deploy/mup.js | 2 +- 2 files changed, 21 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/configured.md diff --git a/.github/workflows/configured.md b/.github/workflows/configured.md new file mode 100644 index 0000000..97bd933 --- /dev/null +++ b/.github/workflows/configured.md @@ -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 diff --git a/deploy/mup.js b/deploy/mup.js index 7609fa9..a8a6aab 100644 --- a/deploy/mup.js +++ b/deploy/mup.js @@ -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', } },