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:
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:

View file

@ -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

View file

@ -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",