Skip to content

Use first available satellite with fallback support #154

Use first available satellite with fallback support

Use first available satellite with fallback support #154

Workflow file for this run

name: "Console"
on:
pull_request:
types: [ opened, synchronize, reopened ]
permissions: write-all
jobs:
console:
runs-on: ubuntu-latest
name: Get console logs
steps:
- name: Wait for build to succeed
uses: fountainhead/[email protected]
id: wait-for-build
with:
token: ${{ secrets.GITHUB_TOKEN }}
checkName: Make sure it builds. Then show a preview.
ref: ${{ github.event.pull_request.head.sha || github.sha }}
- name: Exit if build did not succeed
if: steps.wait-for-build.outputs.conclusion == 'failure'
run: exit 1
shell: bash
- name: Sleep for 120 seconds
if: steps.wait-for-build.outputs.conclusion == 'success'
run: sleep 120s
shell: bash
- name: Checkout code
uses: actions/checkout@v5
- name: Use WebApp Console Log Action
uses: Primajin/webapp-console-log-action@v1
with:
webapp-url: https://Primajin.github.io/satellite-tracker/pr-preview/pr-${{ github.event.number }}/
regexp-warning: '\[.+(?:Automatic fallback to software WebGL has been deprecated|GPU stall due to ReadPixels).*'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}