Unlighthouse rework with docker 6
All checks were successful
Linting and checking code / get-version (push) Successful in 2s
Build and deploy preview site / check-tag (push) Successful in 2s
Linting and checking code / astro-check (push) Successful in 13s
Build and deploy preview site / checking (push) Successful in 13s
Build and deploy preview site / build-site (push) Successful in 1m6s
Build and deploy preview site / run-unlighthouse (push) Successful in 0s
Build and deploy preview site / auto-deploy-dockge (push) Successful in 3s
Build and deploy preview site / create-release (push) Successful in 6s

This commit is contained in:
Firq 2024-11-01 16:17:38 +01:00
parent 9db0b71ee4
commit dd78cc13ef
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",