- Set up your credentials as secrets in your repository settings using
FRP_SERVER_ADDR,FRP_SERVER_PORT,FRP_TOKEN,SSH_PORT
| Secrets | Frp Server |
|---|---|
FRP_SERVER_ADDR |
You Server IP |
FRP_SERVER_PORT |
Bind port |
FRP_TOKEN |
token |
SSH_PORT is used to login the runner, a custom set , e.g 20090 .
- Add the following to your workflow
- uses: halfcoke/gitactions-debugger@v1
name: debugger
timeout-minutes: 30
continue-on-error: true
with:
frp_server_addr: ${{ secrets.FRP_SERVER_ADDR }}
frp_server_port: ${{ secrets.FRP_SERVER_PORT }}
frp_token: ${{ secrets.FRP_TOKEN }}
ssh_port: ${{ secrets.SSH_PORT }}- Run your workflow and login the runner
Each runner needs a unique ssh_port value.
ssh runner@frp_server_addr -p ssh_port Input RootPassword: root
You have root permission by using "sudo"
- Debugger the runner
$ ls
factory
key.pem
perflog
runners
warmup
workrunners is the working directory of workflow
Required IP address of the remote frps server.
Required Port of the remote frps server.
Required Token of the remote frps server.
Required Port to login the runner