fix: Remove polling variable, resolved URL issue

This commit is contained in:
Bart van der Braak 2023-06-11 19:58:14 +02:00
parent 2c918ef6ef
commit d79207285a

View file

@ -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:`,