diff --git a/.forgejo/workflows/cron/auto-deploy-rs.yml b/.forgejo/workflows/cron/auto-deploy-rs.yml index c36c58ac..ee748fc9 100644 --- a/.forgejo/workflows/cron/auto-deploy-rs.yml +++ b/.forgejo/workflows/cron/auto-deploy-rs.yml @@ -40,6 +40,8 @@ jobs: echo "${{ secrets.SSH_PUBLIC_KEY }}" > /root/.ssh/id_ed25519.pub echo "${{ secrets.SSH_PRIVATE_KEY }}" > /root/.ssh/id_ed25519 chmod 700 /root/.ssh + chmod 600 /root/.ssh/id_ed25519 + chmod 644 /root/.ssh/id_ed25519.pub - name: "Setup: Headscale Network" run: | diff --git a/.forgejo/workflows/cron/update-steamdeck.yml b/.forgejo/workflows/cron/update-steamdeck.yml index d737f4d8..71ca5555 100644 --- a/.forgejo/workflows/cron/update-steamdeck.yml +++ b/.forgejo/workflows/cron/update-steamdeck.yml @@ -39,8 +39,6 @@ jobs: chmod 700 /root/.ssh chmod 600 /root/.ssh/id_ed25519 chmod 644 /root/.ssh/id_ed25519.pub - echo "Public Key: " - cat /root/.ssh/id_ed25519.pub - name: "Setup: Headscale Network" run: | diff --git a/.forgejo/workflows/dispatch/manual-deploy-rs.yml b/.forgejo/workflows/dispatch/manual-deploy-rs.yml index c89ddc93..43436729 100644 --- a/.forgejo/workflows/dispatch/manual-deploy-rs.yml +++ b/.forgejo/workflows/dispatch/manual-deploy-rs.yml @@ -39,6 +39,8 @@ jobs: echo "${{ secrets.SSH_PUBLIC_KEY }}" > /root/.ssh/id_ed25519.pub echo "${{ secrets.SSH_PRIVATE_KEY }}" > /root/.ssh/id_ed25519 chmod 700 /root/.ssh + chmod 600 /root/.ssh/id_ed25519 + chmod 644 /root/.ssh/id_ed25519.pub echo "Result: $?" - name: "Setup: Headscale Network"