ThewApp / speedlify-actions-vercel

Monitor Lighthouse score with Speedlify + GitHub Actions + Vercel

Home Page:https://speedlify-actions-vercel.vercel.app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Blank output on vercel site

surjithctly opened this issue · comments

Hello,

Thanks so much for this action, I just tried it and the action ran successfully and pushed a new build. However, after clicking on the category, the output is blank.

See: https://w3c-speedlify.vercel.app/
Code: https://github.com/surjithctly/speedlify-vercel

What do you think the issue might be?

Also, how can we make sure to run this action everyday?

I checked and looks like the results are showing now.

The actions will run everyday because we schedule them to run with scheduled event

schedule:
- cron: "0 * * * *"

Yes, thank you. it works now. May be cache.

Regarding corn, why your demo site shows 1000+ hours
image

If it runs daily, it should be less than 24 hours right?

Also daily cron shouldn't be 0 0 * * * ?

Also, the API urls contains old site data which is deleted from the code. It pushes, but doesn't delete old ones.

https://w3c-speedlify.vercel.app/api/urls.json

I disabled this demo site https://speedlify-actions-vercel.vercel.app/ because it will consume my actions bandwidth. You can view my active instance here https://speedlify.thewdhanat.com/.

You have to delete results branch or that specific site folder in result branch to remove that old site otherwise it will still show up.

make sense. thank you.

I have changed the Test-pages cron to - cron: "0 0 * * *" and Deploy Vercel to - cron: "5 0 * * *" to give time to finish the latest result. or it will run simultaneously and get old data.

If you want I can do a PR for this.