I have a bitbucket-pipelines.yml file that is throwing an error message in VS Code 'Value is not accepted. Valid values: "test", "staging", "production":
image: mydockerhub/myimage
pipelines:
default:
- step:
name: Echo
script:
- echo 'First step in default'
- step:
name: Deploy to ci1 sandbox
deployment: ci1-sandbox
trigger: manual
I've created an environment called ci1-sandbox. Shouldn't this config file's "deployment" line reference that environment?
The example in the documentation at this link shows a sample pipelines config file that contains deployments with names other than 'test', 'staging' or 'production':
