diff --git a/.forgejo/workflows/deploy-rs.yml b/.forgejo/workflows/deploy-rs.yml index 11749c57..f21869af 100644 --- a/.forgejo/workflows/deploy-rs.yml +++ b/.forgejo/workflows/deploy-rs.yml @@ -40,6 +40,7 @@ jobs: - name: "Setup: Tailscale Repo" run: | + set -x mkdir -p --mode=0755 /usr/share/keyrings curl -fsSL https://pkgs.tailscale.com/stable/ubuntu/lunar.noarmor.gpg | sudo tee /usr/share/keyrings/tailscale-archive-keyring.gpg >/dev/null curl -fsSL https://pkgs.tailscale.com/stable/ubuntu/lunar.tailscale-keyring.list | sudo tee /etc/apt/sources.list.d/tailscale.list @@ -48,6 +49,7 @@ jobs: - name: "Setup: SSH" run: | + set -x rm -rf /root/.ssh mkdir /root/.ssh echo "${{ secrets.SSH_PUBLIC_KEY }}" > /root/.ssh/id_ed25519.pub @@ -58,13 +60,9 @@ jobs: - name: "Setup: Headscale Network" run: | - echo "tailscaled --cleanup" + set -x sudo tailscaled --cleanup - echo "" - echo "tailscaled --state=mem 2> ~/tailscaled.log &" sudo tailscaled --state=mem: 2> ~/tailscaled.log & - echo "" - echo "tailscale up" sudo tailscale up \ --login-server=https://headscale.sysctl.io \ --accept-routes \