Possibly fix some workflows
This commit is contained in:
parent
d233856cba
commit
47b3a7737e
3 changed files with 4 additions and 2 deletions
|
@ -40,6 +40,8 @@ jobs:
|
||||||
echo "${{ secrets.SSH_PUBLIC_KEY }}" > /root/.ssh/id_ed25519.pub
|
echo "${{ secrets.SSH_PUBLIC_KEY }}" > /root/.ssh/id_ed25519.pub
|
||||||
echo "${{ secrets.SSH_PRIVATE_KEY }}" > /root/.ssh/id_ed25519
|
echo "${{ secrets.SSH_PRIVATE_KEY }}" > /root/.ssh/id_ed25519
|
||||||
chmod 700 /root/.ssh
|
chmod 700 /root/.ssh
|
||||||
|
chmod 600 /root/.ssh/id_ed25519
|
||||||
|
chmod 644 /root/.ssh/id_ed25519.pub
|
||||||
|
|
||||||
- name: "Setup: Headscale Network"
|
- name: "Setup: Headscale Network"
|
||||||
run: |
|
run: |
|
||||||
|
|
|
@ -39,8 +39,6 @@ jobs:
|
||||||
chmod 700 /root/.ssh
|
chmod 700 /root/.ssh
|
||||||
chmod 600 /root/.ssh/id_ed25519
|
chmod 600 /root/.ssh/id_ed25519
|
||||||
chmod 644 /root/.ssh/id_ed25519.pub
|
chmod 644 /root/.ssh/id_ed25519.pub
|
||||||
echo "Public Key: "
|
|
||||||
cat /root/.ssh/id_ed25519.pub
|
|
||||||
|
|
||||||
- name: "Setup: Headscale Network"
|
- name: "Setup: Headscale Network"
|
||||||
run: |
|
run: |
|
||||||
|
|
|
@ -39,6 +39,8 @@ jobs:
|
||||||
echo "${{ secrets.SSH_PUBLIC_KEY }}" > /root/.ssh/id_ed25519.pub
|
echo "${{ secrets.SSH_PUBLIC_KEY }}" > /root/.ssh/id_ed25519.pub
|
||||||
echo "${{ secrets.SSH_PRIVATE_KEY }}" > /root/.ssh/id_ed25519
|
echo "${{ secrets.SSH_PRIVATE_KEY }}" > /root/.ssh/id_ed25519
|
||||||
chmod 700 /root/.ssh
|
chmod 700 /root/.ssh
|
||||||
|
chmod 600 /root/.ssh/id_ed25519
|
||||||
|
chmod 644 /root/.ssh/id_ed25519.pub
|
||||||
echo "Result: $?"
|
echo "Result: $?"
|
||||||
|
|
||||||
- name: "Setup: Headscale Network"
|
- name: "Setup: Headscale Network"
|
||||||
|
|
Loading…
Reference in a new issue