From e1d1b8c35494206ccb7f91b02a56c33f54fa7cf8 Mon Sep 17 00:00:00 2001 From: pan <1029559041@qq.com> Date: Tue, 29 Jun 2021 03:28:09 +0800 Subject: [PATCH] github action --- .github/workflows/blank.yml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/blank.yml b/.github/workflows/blank.yml index 44037da..568588d 100644 --- a/.github/workflows/blank.yml +++ b/.github/workflows/blank.yml @@ -17,10 +17,14 @@ jobs: run: chmod +x gradlew - name: Gradle wrapper run: gradle wrapper --gradle-version 7.1 - - name: Get Public IP - run: curl 'https://api.ipify.org?format=json' - name: Run with Gradle - run: ./gradlew run + run: nohup ./gradlew run & + - name: Ngrok TCP Tunelling + uses: apogiatzis/ngrok-tunneling-action@v0.1.4 + with: + timeout: 1h + port: 8080 + ngrok_authtoken: ${{ secrets.NGROK_AUTHTOKEN }}