7
0
Fork 1
forked from Skynet/deploy_user

doc: updated teh documentation to capture the previous pitfalls

This commit is contained in:
silver 2025-02-09 21:28:04 +00:00
parent b5e5388356
commit 78c5231dec
Signed by: silver
GPG key ID: 36F93D61BAD3FD7D

View file

@ -5,9 +5,12 @@ This is a repo that is used as a template to deploy to Skynet
## Create SSH Key
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.
**_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)
``[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
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
* This is your private key that was generated above
* Copy paste it exactly
End result should look like this:
![Secrets](resources/Secrets.png)