mirror of
https://github.com/bartvdbraak/omnidash.git
synced 2025-04-27 15:31:21 +00:00
fix: Remove polling variable, resolved URL issue
This commit is contained in:
parent
2c918ef6ef
commit
d79207285a
1 changed files with 1 additions and 2 deletions
3
.github/workflows/lighthouse-report.yaml
vendored
3
.github/workflows/lighthouse-report.yaml
vendored
|
@ -55,7 +55,6 @@ jobs:
|
|||
with:
|
||||
deployment-url: ${{ steps.vercel_preview_url.outputs.preview_url }}
|
||||
timeout: 30
|
||||
poll-interval: 1
|
||||
|
||||
- name: Build Unlighthouse report
|
||||
run: |
|
||||
|
@ -83,7 +82,7 @@ jobs:
|
|||
|
||||
const score = res => res >= 90 ? '🟢' : res >= 50 ? '🟠' : '🔴';
|
||||
|
||||
const reportUrl = `https://${process.env.GITHUB_REPOSITORY_OWNER}.github.io/${process.env.GITHUB_EVENT.repository.name}/${process.env.BRANCH_NAME}`;
|
||||
const reportUrl = `https://${{ github.repository_owner }}.github.io/${{ github.event.repository.name }}/${{ env.BRANCH_NAME }}`;
|
||||
|
||||
const comment = [
|
||||
`⚡️ Lighthouse report for the changes in this PR:`,
|
||||
|
|
Loading…
Reference in a new issue