From e8ca9238d3095c79297727d33b1192e27f6eccfe Mon Sep 17 00:00:00 2001 From: CeciliaKelley33Mm Date: Sun, 6 Oct 2024 13:03:50 +0700 Subject: [PATCH] move serve to install cuz it's GLOBAL --- .github/workflows/runglobal.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/runglobal.yml b/.github/workflows/runglobal.yml index 91eac6a..cf35e08 100644 --- a/.github/workflows/runglobal.yml +++ b/.github/workflows/runglobal.yml @@ -34,6 +34,8 @@ jobs: sudo apt install git wget docker-compose mosh -y curl -fsSL https://tailscale.com/install.sh | sh + npm install -g serve + echo "$(whoami):password1!" | sudo chpasswd sudo tailscale up --hostname=global --advertise-exit-node --ssh --authkey ${{ secrets.TAILSCALE_KEY }} @@ -66,8 +68,6 @@ jobs: docker compose up -d & if [ "${{ inputs.oldTailscaleHostname }}" != "" ]; then - npm install -g serve - cd /tmp aria2c -x 16 -j 16 -s 16 http://${{ inputs.oldTailscaleHostname }}:5000/archive.tar.gz