PromucFlow_constructor/ci-debug.sh
Somangshu Goswami e2b3e7e08d
chore: Hotfix Release v1.9.11.1 (#21340)
Promoting hotfix v1.9.11.1

---------

Co-authored-by: Tolulope Adetula <31691737+Tooluloope@users.noreply.github.com>
Co-authored-by: Anagh Hegde <anagh@appsmith.com>
Co-authored-by: Saroj <43822041+sarojsarab@users.noreply.github.com>
2023-03-11 11:27:20 +01:00

19 lines
438 B
Bash

#!/bin/bash
cd ~
if [ ! -f "ngrok-v3-stable-linux-amd64.tgz" ]; then
wget https://bin.equinox.io/c/bNyj1mQVY4c/ngrok-v3-stable-linux-amd64.tgz
gunzip ngrok-v3-stable-linux-amd64.tgz
tar -xvf ngrok-v3-stable-linux-amd64.tar
else
echo "Starting ngrok"
fi
if [ -z "$1" ]; then
read -p "Please enter ngrok token: " value
else
value="$1"
fi
./ngrok config add-authtoken $value
./ngrok http 80