Category Continuous Deployment
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.