forked from Skynet/deploy_user
doc: updated teh documentation to capture the previous pitfalls
This commit is contained in:
parent
b5e5388356
commit
78c5231dec
1 changed files with 7 additions and 3 deletions
|
@ -5,9 +5,12 @@ This is a repo that is used as a template to deploy to Skynet
|
||||||
## Create SSH Key
|
## Create SSH Key
|
||||||
Details to do this can be found here: [wiki](https://wiki.skynet.ie/tutorials/skynet/create_ssh/)
|
Details to do this can be found here: [wiki](https://wiki.skynet.ie/tutorials/skynet/create_ssh/)
|
||||||
It is recommended to create a new key for just Forgejo Actions.
|
It is recommended to create a new key for just Forgejo Actions.
|
||||||
|
**_Do not add a password to the key_**, it will cause the pipeline to fail.
|
||||||
|
|
||||||
### Add key to kynet account
|
### Add key to Skynet account
|
||||||
Add the contents of ``$USERNAME.pub`` (public key) to [your skynet account](https://account.skynet.ie/modify_ssh)
|
Add the contents of ``$USERNAME.pub`` (public key) to [your skynet account](https://account.skynet.ie/modify_ssh)
|
||||||
|
``[CTRL]+[A]`` and ``[CTRL]+[V]`` will copy/paste everything.
|
||||||
|
The key must remain in its "armor" and the trailing newline at the end must be preserved.
|
||||||
|
|
||||||
## Secrets
|
## Secrets
|
||||||
One secret must be added to make this work.
|
One secret must be added to make this work.
|
||||||
|
@ -16,6 +19,7 @@ Secrets are found in your repo under ``Settings > Actions > Secrets``
|
||||||
|
|
||||||
* SSH_KEY
|
* SSH_KEY
|
||||||
* This is your private key that was generated above
|
* This is your private key that was generated above
|
||||||
|
* Copy paste it exactly
|
||||||
|
|
||||||
End result should look like this:
|
End result should look like this:
|
||||||

|

|
||||||
|
|
Loading…
Add table
Reference in a new issue