You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You don't need to have all of them. So I recommend leave only 1. I would personally use droneci if I want it to be on my server. Or github actions for serverless.
430
+
You don't need to have all of them. So I recommend leave only 1. I would pick github actions since it doesn't require any setup.
431
+
432
+
#### Github actions
433
+
In order to setup continuous delivery via github:
434
+
- Generate a new pair of ssh keys `mkdir /tmp/sshkey; ssh-keygen -t rsa -b 4096 -C "github actions" -f /tmp/sshkey/id_rsa`
435
+
- Append content of `/tmp/sshkey/id_rsa.pub` to your server last line of file `~/.ssh/authorized_keys` where `~` is the home for ssh user to use ( I used `http`)
436
+
- Create ssh variables at https://github.com/akoidan/pychat/settings/secrets/actions (where akoidan/pychat is your repo) :
437
+
-`HOST` -ssh host (your domain)
438
+
-`PORT` - ssh port (22)
439
+
-`SSH_USER` - ssh user, if you used my setup it's `http`
440
+
-`ID_RSA` - what ssh-keygen has generated in step above to`/tmp/sshkey/id_rsa`
441
+
- I used alias to give http user to access tornado systemd service like in [this](https://serverfault.com/a/841104/304770) example. So append `/etc/sudoers` with
0 commit comments