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