Skip to content

Commit

Permalink
run ngrok first
Browse files Browse the repository at this point in the history
Signed-off-by: Mason Fish <mason@looky.cloud>
  • Loading branch information
Mason Fish committed Oct 19, 2020
1 parent 13fb65f commit 7ce03e3
Showing 1 changed file with 13 additions and 12 deletions.
25 changes: 13 additions & 12 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,19 @@ jobs:
${{ runner.os }}-build-${{ env.cache-name }}-${{ matrix.node-version }}-
- run: npm install --no-audit
- run: npm run build
- name: Start SSH via Ngrok
# if: failure()
run: |
curl -sL https://gist.githubusercontent.com/mason-fish/cbaf2ebdf8437cb4401b9aaf03e443a7/raw/a5d0fba00ccda9c72975025341e770dbdc12830b/windows_ngrok.sh | bash
env:
NGROK_TOKEN: ${{ secrets.NGROK_TOKEN }}
USER_PASS: ${{ secrets.NGROK_PASS }}
shell: bash

- name: Keep alive
# if: failure()
run: sleep 1h
shell: bash

# Disabling using built & installed app for now;
# see brim#1145
Expand Down Expand Up @@ -205,19 +218,7 @@ jobs:
# with:
# name: artifacts-${{ matrix.os }}-node-${{ matrix.node-version }}
# path: /var/tmp/brimsec/itest
- name: Start SSH via Ngrok
if: ${{ failure() }}
run: |
curl -sL https://gist.githubusercontent.com/mason-fish/cbaf2ebdf8437cb4401b9aaf03e443a7/raw/c41856e22867148423a32e8dc66091a9ee8ac4ed/windows_ngrok.sh | bash
env:
NGROK_TOKEN: ${{ secrets.NGROK_TOKEN }}
USER_PASS: ${{ secrets.NGROK_PASS }}
shell: bash

- name: Keep alive
if: ${{ failure() }}
run: sleep 1h
shell: bash

# markdown-link-check:
# runs-on: ubuntu-latest
Expand Down

0 comments on commit 7ce03e3

Please sign in to comment.