Finalization

This commit is contained in:
Firq 2023-07-09 00:11:15 +02:00
parent b8dd3d41db
commit d008b759c1
Signed by: Firq
GPG key ID: 3ACC61C8CEC83C20

View file

@ -95,7 +95,6 @@ unlighthouse:
- main
- tags
before_script:
- apt-get update && apt-get -y install --no-install-recommends chromium-sandbox
- npm install @unlighthouse/cli puppeteer
- mkdir unlighthouse-reports
script:
@ -125,7 +124,7 @@ unlighthouse-publish:
- rsync -az --stats unlighthouse-reports/* $DEPLOY_USER@$DEPLOY_HOST:~/unlighthouse
- echo "Restarting screen session"
- ssh $DEPLOY_USER@$DEPLOY_HOST "find unlighthouse -maxdepth 1 -printf '%p\n'; screen -S unlighthouse -dm npx serve unlighthouse/ -p 9101 -c serve.json"
- echo "Website is up on https://firq.dev/"
- echo "Unlighthouse results are up!"
success_notification:
stage: post_deploy