fixed icons and links (and ci?)
This commit is contained in:
parent
1782b69664
commit
7d6f6eb4d5
7 changed files with 16 additions and 27 deletions
.forgejo/workflows
|
@ -18,19 +18,20 @@ jobs:
|
|||
image: forgejo.neshweb.net/firq/firq-dev-website:${{ inputs.containertag }}
|
||||
options: >-
|
||||
--workdir /
|
||||
--hostname website
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: https://code.forgejo.org/actions/checkout@v3
|
||||
- name: Check availability
|
||||
run: |
|
||||
while [ "$(curl -o /dev/null -s -w '%{http_code}' http://localhost:8081/)" -ne 200 ];
|
||||
while [ "$(curl -o /dev/null -s -w '%{http_code}' http://website/)" -ne 200 ];
|
||||
do echo "Waiting...";
|
||||
sleep 5;
|
||||
done;
|
||||
- name: Run unlighthouse
|
||||
run: unlighthouse-ci --site "http://localhost:8081/"
|
||||
run: unlighthouse-ci --site "http://website/"
|
||||
- name: Replace URLs
|
||||
run: find ./unlighthouse-reports -type f | xargs sed -i "s|http://localhost:8081|https://preview.firq.dev|g";
|
||||
run: find ./unlighthouse-reports -type f | xargs sed -i "s|http://website|https://preview.firq.dev|g";
|
||||
- name: Prepare artifacts
|
||||
run: cp serve.json unlighthouse-reports
|
||||
- name: Upload reports
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue