How do I create a trigger to make an automatic deploy to a already existing, healthy server with Octopus deploy?
I have created steps to create the package on the buildserver and created the release in Octopus, but I can’t create a trigger to do the deployment itself.
We are using Octopus 3.4.12.
Thanks for getting in touch! I’m not 100% sure what you are after here so I will give you a couple of options, sorry if either is irrelevant. The first is a section on our Lifecycles page for automatically deploying your project to a phase when a release enters said phase. The following link to our documentation has some further information on this. https://octopus.com/docs/key-concepts/lifecycles#Lifecycles-LifecyclePhases
If you are referring to our triggers feature, I can tell you that there have been some additions since the version of Octopus you are on. See the attached screenshot for a list of available triggers that can be used in 3.16.0.
Let me know if the above helps you or if you have any further questions here.
I don’t get access to your link, but what I need is an event that is something like “Release created”. In my mind that should be the simplest scenario for a trigger, so maybe I’m misunderstanding how I’m supposed to use this.
What I want is these steps:
- Buidserver creates packages on a spesific time (done)
- Octopus created release when it sees the new packages (done)
- Octopus deploys the release/package when it sees the new release (not done)
My apologies! I was mean to give you this link: https://octopus.com/docs/key-concepts/lifecycles#Lifecycles-LifecyclePhases