From dd78cc13ef07a79d41d692eba6a137f9f2f42e22 Mon Sep 17 00:00:00 2001 From: Firq Date: Fri, 1 Nov 2024 16:17:38 +0100 Subject: [PATCH] Unlighthouse rework with docker 6 --- .forgejo/workflows/unlighthouse.yml | 11 +++++++++-- Dockerfile.reports | 1 - package.json | 2 +- 3 files changed, 10 insertions(+), 4 deletions(-) diff --git a/.forgejo/workflows/unlighthouse.yml b/.forgejo/workflows/unlighthouse.yml index 63309dd..4ecc855 100644 --- a/.forgejo/workflows/unlighthouse.yml +++ b/.forgejo/workflows/unlighthouse.yml @@ -38,14 +38,21 @@ jobs: with: name: unlighthouse-reports path: unlighthouse-reports/ + - name: Upload Dockerfile + uses: actions/upload-artifact@v3 + with: + name: dockerfile + path: Dockerfile.reports build-site: needs: [ unlighthouse ] if: success() runs-on: dind steps: - - name: Checkout repository - uses: https://code.forgejo.org/actions/checkout@v3 + - name: Downloading static site artifacts + uses: actions/download-artifact@v3 + with: + name: dockerfile - name: Downloading static site artifacts uses: actions/download-artifact@v3 with: diff --git a/Dockerfile.reports b/Dockerfile.reports index cdce130..f745d5e 100644 --- a/Dockerfile.reports +++ b/Dockerfile.reports @@ -1,7 +1,6 @@ FROM forgejo.neshweb.net/ci-docker-images/website-serve:2 AS runtime ADD reports /public -COPY ./serve.json /public/serve.json EXPOSE 8081 CMD serve public/ -p 8081 diff --git a/package.json b/package.json index 2842c75..48a762d 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "@firq/fgosite", "type": "module", - "version": "0.2.0-pre.57", + "version": "0.2.0-pre.58", "private": true, "scripts": { "dev": "astro dev",