From 47b3a7737e028657aad1357299c6a1e7d3171808 Mon Sep 17 00:00:00 2001 From: albert Date: Thu, 5 Dec 2024 22:43:06 +0100 Subject: [PATCH] Possibly fix some workflows --- .forgejo/workflows/cron/auto-deploy-rs.yml | 2 ++ .forgejo/workflows/cron/update-steamdeck.yml | 2 -- .forgejo/workflows/dispatch/manual-deploy-rs.yml | 2 ++ 3 files changed, 4 insertions(+), 2 deletions(-) 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"