Skip to content

Commit d6277cc

Browse files
authored
Update diff-bot.yml
1 parent f7e07f7 commit d6277cc

File tree

1 file changed

+6
-12
lines changed

1 file changed

+6
-12
lines changed

.github/workflows/diff-bot.yml

Lines changed: 6 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -45,18 +45,12 @@ jobs:
4545
# Step 2: Install ngrok
4646
- name: Install ngrok
4747
run: |
48-
wget https://bin.equinox.io/c/4VmDzA7iaHb/ngrok-stable-linux-amd64.zip
49-
unzip -qq ngrok-stable-linux-amd64.zip
50-
sudo mv ngrok /usr/local/bin
51-
52-
# Step 2.5: Update ngrok to the latest version
53-
- name: Update ngrok to the latest version
54-
run: ngrok update
55-
56-
# Step 3: Authenticate ngrok with your token
57-
- name: Authenticate ngrok
58-
run: |
59-
ngrok authtoken ${{ secrets.NGROK }}
48+
curl -sSL https://ngrok-agent.s3.amazonaws.com/ngrok.asc \
49+
| sudo tee /etc/apt/trusted.gpg.d/ngrok.asc >/dev/null \
50+
&& echo "deb https://ngrok-agent.s3.amazonaws.com buster main" \
51+
| sudo tee /etc/apt/sources.list.d/ngrok.list \
52+
&& sudo apt update \
53+
&& sudo apt install ngrok
6054
6155
# Step 4: Expose Docker container via ngrok
6256
- name: Expose Docker container via ngrok

0 commit comments

Comments
 (0)