resolution fix

This commit is contained in:
Firq 2025-04-07 23:17:32 +02:00
parent 7d6f6eb4d5
commit d19ded377f
Signed by: Firq
GPG key ID: 3ACC61C8CEC83C20
6 changed files with 19 additions and 9 deletions
.forgejo/workflows

View file

@ -24,12 +24,13 @@ jobs:
uses: https://code.forgejo.org/actions/checkout@v3
- name: Check availability
run: |
while [ "$(curl -o /dev/null -s -w '%{http_code}' http://website/)" -ne 200 ];
while [ "$(curl -o /dev/null -s -w '%{http_code}' http://website)" -ne 200 ];
do echo "Waiting...";
curl -X GET http://website;
sleep 5;
done;
- name: Run unlighthouse
run: unlighthouse-ci --site "http://website/"
run: unlighthouse-ci --site "http://website"
- name: Replace URLs
run: find ./unlighthouse-reports -type f | xargs sed -i "s|http://website|https://preview.firq.dev|g";
- name: Prepare artifacts