luisboto / ngrok-tunnel-action Goto Github PK
View Code? Open in Web Editor NEW🧪 Github Action to tunnel traffic from a Github runner using Ngrok
🧪 Github Action to tunnel traffic from a Github runner using Ngrok
I can't seems to make it work on GitHub action, self hosted runner, while downloaded the latest build from ngrok and starting it manually work without issue.
Action:
- uses: luisboto/[email protected]
with:
timeout: 1h
port: 3000
tunnel_type: http
ngrok_authtoken: ${{ secrets.NGROK_AUTHTOKEN }}
Logs:
2023-11-14 16:30:34 (9.27 MB/s) - ‘ngrok-stable-linux-amd64.zip’ saved [13921656/13921656]
Run unzip -qq ngrok-stable-linux-amd64.zip
Run ./ngrok authtoken ***
./ngrok authtoken ***
shell: /usr/bin/bash --noprofile --norc -e -o pipefail {0}
Authtoken saved to configuration file: /builds/.ngrok2/ngrok.yml
Run ( timeout 1h ./ngrok http 3000 ) &
( timeout 1h ./ngrok http 3000 ) &
shell: /usr/bin/bash --noprofile --norc -e -o pipefail {0}
Run echo "::set-output name=tunnel-url::$( curl http://127.0.0.1:4040/api/tunnels | jq -r ".tunnels[0].public_url" )"
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 36 100 36 0 0 17191 0 --:--:-- --:--:-- --:--:-- 36000
Warning: The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Run echo null
echo null
shell: /usr/bin/bash --noprofile --norc -e -o pipefail {0}
null
any idea ?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.