Category Continuous Deployment
Google Lighthouse Integration in Bitbucket Pipelines
I am a big fan of the possibilities that CI pipelines like Bitbucket Pipelines offer and I have already wrote
an article about integrating Hugo with Bitbucket Pipelines
.
In this post today I will create a Bitbucket Pipeline for Google Lighthouse checks to continuously monitor the
important Google Lighthouse Score
to improve performance and search results.
Hugo Deployments with Bitbucket Pipelines
Bitbucket has a great feature called Bitbucket Pipelines with that you are able to do tasks automatically after code has been pushed to the repository. This workflow can also be used for Hugo deployments with Bitbucket Pipelines. Typical tasks for pipelines from my customer projects include e.g. deployments run phpunit test suite make code syntax checks, e.g. run phpstan, code sniffer, etc. generate anonymized dumps for staging environments Specifically for Hugo projects like this blog I use it to deploy the code automatically to the testing or live servers.