Possibly fix some workflows

This commit is contained in:
albert 2024-12-05 22:43:06 +01:00
parent d233856cba
commit 47b3a7737e
Signed by: albert
GPG key ID: 3895DD267CA11BA9
3 changed files with 4 additions and 2 deletions

View file

@ -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: |

View file

@ -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: |

View file

@ -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"