shaowenchen
V2EX  ›  GitHub

周末开发了个 GitHub Actions 的调试工具: debuger-action,支持远程到 Runner

  •  1
     
  •   shaowenchen · Jan 18, 2021 · 2530 views
    This topic created in 1967 days ago, the information mentioned may be changed or developed.

    项目地址: https://github.com/shaowenchen/debugger-action

    打开方式:

    需要一个 Frp Server 。在 workflows 中 添加一个 job

    - uses: shaowenchen/debugger-action@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 }}
    

    就可以远程了 ssh root@frp_server_addr -p ssh_port,密码:root

    最长单次可达 6 小时的 Debug 时长,支持 Linux 、MacOs 系统。

    详情参看项目地址或 https://www.chenshaowen.com/blog/a-debugger-for-actions.html

    1 replies    2021-01-19 15:11:59 +08:00
    shaowenchen
        1
    shaowenchen  
    OP
       Jan 19, 2021
    v2 版已经支持 Ngrok

    ```bash
    - uses: shaowenchen/debugger-action@v2
    name: debugger
    timeout-minutes: 30
    continue-on-error: true
    with:
    ngrok_token: ${{ secrets.NGROK_TOKEN }}
    ```
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3015 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 28ms · UTC 14:44 · PVG 22:44 · LAX 07:44 · JFK 10:44
    ♥ Do have faith in what you're doing.