Update workflows

This commit is contained in:
albert 2024-11-07 03:02:01 +01:00
parent b7fa7f1358
commit f095c08c7d
Signed by: albert
GPG key ID: 3895DD267CA11BA9

View file

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