I followed the instruction and added deployment: dev in the pipeline definition
https://bitbucket.org/blog/introducing-bitbucket-deployments#:~:text=Environments%20in%20Bitbucket%20are%20configured,via%20the%20Pipelines%20YAML%20file.
When I run I get the following error. where do set the environment settings
The environment 'dev' in your bitbucket-pipelines.yml doesn’t match any environment defined in your settings. Either update your yml, or your settings, to use the same name.
Hi @t1279k
It looks like the blog is a bit dated. We have added the capability for user-defined deployment environments, you need to now define your environment before using it in your bitbucket-pipelines.yml. Further documentation can be found here.
Thanks,
Justin Thomas
Product Manager, Bitbucket Pipelines
It looks like you're new here. Sign in or register to get started.