-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
okay i had to coach someone through it
so i was able to be more specific on any problem points. hopefully this is fool proof now
- Loading branch information
Showing
1 changed file
with
8 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -27,8 +27,8 @@ project root/ | |
|
||
inside the build.yml file copy and paste this: | ||
|
||
```yml | ||
{% raw %} | ||
```yml | ||
name: Deploy to Lexiqqq | ||
|
||
on: | ||
|
@@ -65,8 +65,8 @@ jobs: | |
- name: Copy _site to Lexiqqq with SCP | ||
run: | | ||
scp -i ~/.ssh/private.key -o UserKnownHostsFile=~/.ssh/known_hosts -o StrictHostKeyChecking=no -r _site/* [email protected]:/home/YOURLEXIQQQUSERNAME/public_html/ | ||
{% endraw %} | ||
``` | ||
{% endraw %} | ||
# 3. configuring the workflow | ||
|
@@ -86,6 +86,8 @@ in the new repository secret menu for for the name write LEXIQQQ_PRIVATE_KEY. fo | |
ssh-keygen -t ed25519 -C "[email protected]" | ||
``` | ||
|
||
(keep the quotations in your command, also the email doesnt need to be your lexiqqq email just use your actual one.) | ||
|
||
press enter when you are prompted with the file name and a passphrase leaving them blank. you can still follow this tutorial (probably i havent tested it) if you add a passphrase but it might get more complicated and you'll probably have to modify the workflow, same with a file name. | ||
|
||
|
||
|
@@ -175,15 +177,17 @@ this is giving authorized_keys read and write permissions and giving the ssh dir | |
|
||
# 7. (optional) verifying your ssh access | ||
|
||
exit out of the ssh and run: | ||
|
||
```bash | ||
ssh -i ~/.ssh/id_ed25519 w@lexiqqq.com | ||
ssh -i ~/.ssh/id_ed25519 YOUR_LEXIQQQ_USERNAME@lexiqqq.com | ||
``` | ||
|
||
it should ssh you into your lexiqqq account without a password prompt appearing. | ||
|
||
# 8. adding your private key to github secrets | ||
|
||
this is the last step !! run: | ||
this is the last step !! run this command (if you get the no such file or dictionary thats because you are still in the ssh, exit ssh first): | ||
|
||
```bash | ||
cat ~/.ssh/id_ed25519 | ||
|