don't run if "${{ secrets.NGROK_TOKEN }}" is not set.

This commit is contained in:
neil committed 2020-08-29 14:11:11 +08:00
1 parent 918c8f9295
commit b639683ac1
1 file changed
+3
+3
View File
@@ -15,6 +15,7 @@ on:
jobs:
Ubuntu:
runs-on: ubuntu-latest
if: "${{ secrets.NGROK_TOKEN }}"
env:
NGROK_TOKEN : ${{ secrets.NGROK_TOKEN }}
TEST_LOCAL: 1
@@ -29,6 +30,7 @@ jobs:
MacOS:
runs-on: macos-latest
if: "${{ secrets.NGROK_TOKEN }}"
needs: Ubuntu
env:
NGROK_TOKEN : ${{ secrets.NGROK_TOKEN }}
@@ -44,6 +46,7 @@ jobs:
Windows:
runs-on: windows-latest
if: "${{ secrets.NGROK_TOKEN }}"
needs: MacOS
env:
NGROK_TOKEN : ${{ secrets.NGROK_TOKEN }}
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.