debugger-action.yml 669 B

12345678910111213141516171819202122232425
  1. # 基于frp 远程 ssh 登录 github action 的 Runner 主机进行调试
  2. # ssh root@frp_server_addr -p 29002 root/root
  3. # kubectl get node 查看节点
  4. name: kind
  5. on:
  6. push:
  7. branches: [ master ]
  8. jobs:
  9. hello:
  10. runs-on: ubuntu-latest
  11. steps:
  12. - name: Creating kind cluster
  13. uses: helm/kind-action@v1.0.0-rc.1
  14. - uses: shaowenchen/debugger-action@v1
  15. name: debugger
  16. timeout-minutes: 30
  17. continue-on-error: true
  18. with:
  19. frp_server_addr: ${{ secrets.FRP_SERVER_ADDR }}
  20. frp_server_port: ${{ secrets.FRP_SERVER_PORT }}
  21. frp_token: ${{ secrets.FRP_TOKEN }}
  22. ssh_port: 29002