Finalization
This commit is contained in:
parent
b8dd3d41db
commit
d008b759c1
1 changed files with 1 additions and 2 deletions
|
@ -95,7 +95,6 @@ unlighthouse:
|
||||||
- main
|
- main
|
||||||
- tags
|
- tags
|
||||||
before_script:
|
before_script:
|
||||||
- apt-get update && apt-get -y install --no-install-recommends chromium-sandbox
|
|
||||||
- npm install @unlighthouse/cli puppeteer
|
- npm install @unlighthouse/cli puppeteer
|
||||||
- mkdir unlighthouse-reports
|
- mkdir unlighthouse-reports
|
||||||
script:
|
script:
|
||||||
|
@ -125,7 +124,7 @@ unlighthouse-publish:
|
||||||
- rsync -az --stats unlighthouse-reports/* $DEPLOY_USER@$DEPLOY_HOST:~/unlighthouse
|
- rsync -az --stats unlighthouse-reports/* $DEPLOY_USER@$DEPLOY_HOST:~/unlighthouse
|
||||||
- echo "Restarting screen session"
|
- 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"
|
- 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:
|
success_notification:
|
||||||
stage: post_deploy
|
stage: post_deploy
|
||||||
|
|
Loading…
Reference in a new issue