Skip to content

Commit

Permalink
okay i had to coach someone through it
Browse files Browse the repository at this point in the history
so i was able to be more specific on any problem points. hopefully this is fool proof now
  • Loading branch information
Moosyu committed Oct 4, 2024
1 parent 385b737 commit d24eeb5
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions src/pages/guides/lexiqqq_eleventy.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ project root/

inside the build.yml file copy and paste this:

```yml
{% raw %}
```yml
name: Deploy to Lexiqqq

on:
Expand Down Expand Up @@ -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
Expand All @@ -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.


Expand Down Expand Up @@ -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
Expand Down

0 comments on commit d24eeb5

Please sign in to comment.