Unlighthouse rework with docker 6

This commit is contained in:
Firq 2024-11-01 16:17:38 +01:00
parent 9db0b71ee4
commit 5de35c8216
Signed by: Firq
GPG key ID: 3ACC61C8CEC83C20
3 changed files with 10 additions and 4 deletions

View file

@ -38,14 +38,21 @@ jobs:
with: with:
name: unlighthouse-reports name: unlighthouse-reports
path: unlighthouse-reports/ path: unlighthouse-reports/
- name: Upload Dockerfile
uses: actions/upload-artifact@v3
with:
name: dockerfile
path: Dockerfile.reports
build-site: build-site:
needs: [ unlighthouse ] needs: [ unlighthouse ]
if: success() if: success()
runs-on: dind runs-on: dind
steps: steps:
- name: Checkout repository - name: Downloading static site artifacts
uses: https://code.forgejo.org/actions/checkout@v3 uses: actions/download-artifact@v3
with:
name: dockerfile
- name: Downloading static site artifacts - name: Downloading static site artifacts
uses: actions/download-artifact@v3 uses: actions/download-artifact@v3
with: with:

View file

@ -1,7 +1,6 @@
FROM forgejo.neshweb.net/ci-docker-images/website-serve:2 AS runtime FROM forgejo.neshweb.net/ci-docker-images/website-serve:2 AS runtime
ADD reports /public ADD reports /public
COPY ./serve.json /public/serve.json
EXPOSE 8081 EXPOSE 8081
CMD serve public/ -p 8081 CMD serve public/ -p 8081

View file

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