Update workflows
This commit is contained in:
parent
b7fa7f1358
commit
f095c08c7d
1 changed files with 3 additions and 5 deletions
|
@ -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 \
|
||||
|
|
Loading…
Reference in a new issue