跳至主要內容
  • Hostloc 空間訪問刷分
  • 售賣場
  • 廣告位
  • 賣站?

4563博客

全新的繁體中文 WordPress 網站
  • 首頁
  • 周末开发了个 GitHub Actions 的调试工具: debuger-action,支持远程到 Runner
未分類
4 2 月 2021

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

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

資深大佬 : shaowenchen 9

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

打开方式:

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

- uses: shaowenchen/[email protected]   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 [email protected]_server_addr -p ssh_port,密码:root

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

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

大佬有話說 (1)

  • 主 資深大佬 : shaowenchen

    v2 版已经支持 Ngrok

    “`bash
    – uses: shaowenchen/[email protected]
    name: debugger
    timeout-minutes: 30
    continue-on-error: true
    with:
    ngrok_token: ${{ secrets.NGROK_TOKEN }}
    “`

文章導覽

上一篇文章
下一篇文章

AD

其他操作

  • 登入
  • 訂閱網站內容的資訊提供
  • 訂閱留言的資訊提供
  • WordPress.org 台灣繁體中文

51la

4563博客

全新的繁體中文 WordPress 網站
返回頂端
本站採用 WordPress 建置 | 佈景主題採用 GretaThemes 所設計的 Memory
4563博客
  • Hostloc 空間訪問刷分
  • 售賣場
  • 廣告位
  • 賣站?
在這裡新增小工具