fixed unlighthouse
This commit is contained in:
parent
b75fb2499e
commit
83cda5dbb5
6 changed files with 6 additions and 9 deletions
|
@ -20,11 +20,10 @@ jobs:
|
|||
--hostname website
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: https://code.forgejo.org/actions/checkout@v3
|
||||
uses: https://code.forgejo.org/actions/checkout@v3
|
||||
- name: Check availability
|
||||
run: |
|
||||
while [ "$(curl -o /dev/null -s -w '%{http_code}' http://website:8081)" -ne 200 ];
|
||||
curl http://website:8081;
|
||||
do echo "Waiting...";
|
||||
sleep 5;
|
||||
done;
|
||||
|
|
|
@ -13,4 +13,4 @@ COPY --from=build /app/serve.json /public/serve.json
|
|||
RUN rm /public/.original.favicon.ico
|
||||
|
||||
EXPOSE 8081
|
||||
CMD serve --listen 8081 --no-clipboard --debug /public > site.log
|
||||
CMD [ "serve", "--listen 8081", "--no-clipboard", "/public" ]
|
||||
|
|
|
@ -3,4 +3,4 @@ FROM forgejo.neshweb.net/ci-docker-images/website-serve:2 AS runtime
|
|||
ADD reports /public
|
||||
|
||||
EXPOSE 8081
|
||||
CMD serve public/ -p 8081
|
||||
CMD [ "serve", "--listen 8081", "--no-clipboard", "/public" ]
|
||||
|
|
4
package-lock.json
generated
4
package-lock.json
generated
|
@ -1,12 +1,12 @@
|
|||
{
|
||||
"name": "@firq/fgosite",
|
||||
"version": "0.2.0-pre.81",
|
||||
"version": "0.2.0-pre.82",
|
||||
"lockfileVersion": 3,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "@firq/fgosite",
|
||||
"version": "0.2.0-pre.81",
|
||||
"version": "0.2.0-pre.82",
|
||||
"dependencies": {
|
||||
"@astro-community/astro-embed-youtube": "^0.5.6",
|
||||
"@astrojs/check": "^0.9.4",
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"name": "@firq/fgosite",
|
||||
"type": "module",
|
||||
"version": "0.2.0-pre.81",
|
||||
"version": "0.2.0-pre.82",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"dev": "astro dev",
|
||||
|
|
|
@ -2,8 +2,6 @@
|
|||
"cleanUrls": true,
|
||||
"directoryListing": false,
|
||||
"etag": true,
|
||||
"logReq": true,
|
||||
"logRes": true,
|
||||
"headers": [
|
||||
{
|
||||
"source" : "**/*.html",
|
||||
|
|
Loading…
Add table
Reference in a new issue