Unlighthouse rework with docker 6
This commit is contained in:
parent
9db0b71ee4
commit
5de35c8216
3 changed files with 10 additions and 4 deletions
|
@ -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:
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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",
|
||||
|
|
Loading…
Reference in a new issue