From b8dd3d41db80d75bacf7deae9c3d989700199848 Mon Sep 17 00:00:00 2001 From: Firq Date: Sun, 9 Jul 2023 00:06:17 +0200 Subject: [PATCH] Structure change and config --- .gitlab-ci.yml | 8 +++++--- unlighthouse.config.ts | 2 +- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 6c58b08..42eb73e 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -90,7 +90,7 @@ deploy-testing: unlighthouse: image: registry.gitlab.com/gitlab-ci-utils/lighthouse:latest stage: benchmark - when: on_success + when: manual except: - main - tags @@ -106,9 +106,11 @@ unlighthouse: - unlighthouse-reports expire_in: 1 day -unlighthouse-output: - stage: post_deploy +unlighthouse-publish: + stage: benchmark when: on_success + needs: + - unlighthouse except: - tags - main diff --git a/unlighthouse.config.ts b/unlighthouse.config.ts index 4e05d89..fbd6208 100644 --- a/unlighthouse.config.ts +++ b/unlighthouse.config.ts @@ -1,5 +1,5 @@ export default { - site: 'http://192.168.178.141:9100', + site: 'staging.firq.dev', puppeteerOptions: { args: ["--no-sandbox", "--disable-setuid-sandbox"], },