From bd9d5b4308e9d04f0d13bd43df5e27e43aa7be84 Mon Sep 17 00:00:00 2001 From: CeciliaKelley33Mm Date: Sun, 6 Oct 2024 08:14:21 +0700 Subject: [PATCH] i forgor this thing called SEMICOLON --- .github/workflows/runglobal.yml | 2 +- loop.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/runglobal.yml b/.github/workflows/runglobal.yml index 3caeae9..bce1ba3 100644 --- a/.github/workflows/runglobal.yml +++ b/.github/workflows/runglobal.yml @@ -65,7 +65,7 @@ jobs: sed -i 's/SPOTIFY_CLIENT_SECRET_PLACEHOLDER/${{ secrets.SPOTIFY_CLIENT_SECRET }}/g' docker-compose.yml docker compose up -d & - if [ "${{ inputs.oldTailscaleHostname }}" != "" ] then + if [ "${{ inputs.oldTailscaleHostname }}" != "" ]; then echo DEBUG: old tailscale hostname is not empty echo it is AA${{ inputs.oldTailscaleHostname }}AA diff --git a/loop.sh b/loop.sh index cabd5ab..92f9975 100755 --- a/loop.sh +++ b/loop.sh @@ -102,7 +102,7 @@ check() { command+="\"/repos/CeciliaKelley33Mm/$REPO/actions/workflows/$WORKFLOW_FILE/dispatches\" " command+="-f \"ref=$BRANCH\" -f \"inputs[runNext]=true\" " - if [ "$IS_GLOBAL" == "true" ] && [ "$OLD_TAILSCALE_HOSTNAME" != "" ] then + if [ "$IS_GLOBAL" == "true" ] && [ "$OLD_TAILSCALE_HOSTNAME" != "" ]; then command+="-f \"inputs[oldTailscaleHostname]=$OLD_TAILSCALE_HOSTNAME\"" cd /tmp