I have automatic release project enabled and I want to auto deploy when a new release is created
I configure my octopus server with this info (https://octopus.com/docs/deploying-applications/automatic-deployment-triggers), but the deploy don’t start
Using octopus 3.8.5, manual deploy working fine
My trigger configuration is attached
Hi Rodrigo,
Thanks for getting in touch! Would you be able to confirm that you have configured the phase in your Lifecycle that you wish to automatically deploy first to Deploy automatically to this environment as soon as the release enters this phase.
Once the Automatic Release Creation is configured, if you want automatic deployment, you will still need to set that option to tell Octopus which environment to deploy to first, once the release is created.
See our Lifecycles documentation for some more information on this. https://octopus.com/docs/key-concepts/lifecycles#Lifecycles-LifecyclePhases
Let me know if that helps.
Best regards,
Daniel
Hi Rodrigo,
Just had a chat to the team about this, looks like I had it a little wrong here. The Project Trigger option that you have currently configured is used to handle deploying an existing release upon the change of status for a machine. It looks like you need to confirm that Automatic Release Creation is configured and not use Project Triggers in this situation.
Automatic release creation is designed to create a release upon the pushing of a package to Octopus. You will then need to configure the Lifecycle as I mention in my previous response, this will start the deployment once the release is created.
We have documentation for this here: https://octopus.com/docs/deploying-applications/automatic-release-creation
Again, sorry for providing you with the wrong information! Let me know if you run into any issues here or have further questions.
Best regards,
Daniel
After configuring the phase in my lifecycle the automatic deploy is working fine.
Thanks a lot, awesome support!!
Hi Rodrigo,
Great! I’m glad to hear that you got it working, let me know if you have any further questions.
Best regards,
Daniel