fixed unlighthouse

This commit is contained in:
Firq 2025-04-08 20:31:56 +02:00
parent b75fb2499e
commit 83cda5dbb5
Signed by: Firq
GPG key ID: 3ACC61C8CEC83C20
6 changed files with 6 additions and 9 deletions

View file

@ -20,11 +20,10 @@ jobs:
--hostname website --hostname website
steps: steps:
- name: Checkout repository - name: Checkout repository
uses: https://code.forgejo.org/actions/checkout@v3 uses: https://code.forgejo.org/actions/checkout@v3
- name: Check availability - name: Check availability
run: | run: |
while [ "$(curl -o /dev/null -s -w '%{http_code}' http://website:8081)" -ne 200 ]; while [ "$(curl -o /dev/null -s -w '%{http_code}' http://website:8081)" -ne 200 ];
curl http://website:8081;
do echo "Waiting..."; do echo "Waiting...";
sleep 5; sleep 5;
done; done;

View file

@ -13,4 +13,4 @@ COPY --from=build /app/serve.json /public/serve.json
RUN rm /public/.original.favicon.ico RUN rm /public/.original.favicon.ico
EXPOSE 8081 EXPOSE 8081
CMD serve --listen 8081 --no-clipboard --debug /public > site.log CMD [ "serve", "--listen 8081", "--no-clipboard", "/public" ]

View file

@ -3,4 +3,4 @@ FROM forgejo.neshweb.net/ci-docker-images/website-serve:2 AS runtime
ADD reports /public ADD reports /public
EXPOSE 8081 EXPOSE 8081
CMD serve public/ -p 8081 CMD [ "serve", "--listen 8081", "--no-clipboard", "/public" ]

4
package-lock.json generated
View file

@ -1,12 +1,12 @@
{ {
"name": "@firq/fgosite", "name": "@firq/fgosite",
"version": "0.2.0-pre.81", "version": "0.2.0-pre.82",
"lockfileVersion": 3, "lockfileVersion": 3,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "@firq/fgosite", "name": "@firq/fgosite",
"version": "0.2.0-pre.81", "version": "0.2.0-pre.82",
"dependencies": { "dependencies": {
"@astro-community/astro-embed-youtube": "^0.5.6", "@astro-community/astro-embed-youtube": "^0.5.6",
"@astrojs/check": "^0.9.4", "@astrojs/check": "^0.9.4",

View file

@ -1,7 +1,7 @@
{ {
"name": "@firq/fgosite", "name": "@firq/fgosite",
"type": "module", "type": "module",
"version": "0.2.0-pre.81", "version": "0.2.0-pre.82",
"private": true, "private": true,
"scripts": { "scripts": {
"dev": "astro dev", "dev": "astro dev",

View file

@ -2,8 +2,6 @@
"cleanUrls": true, "cleanUrls": true,
"directoryListing": false, "directoryListing": false,
"etag": true, "etag": true,
"logReq": true,
"logRes": true,
"headers": [ "headers": [
{ {
"source" : "**/*.html", "source" : "**/*.html",