Deploying from Commit That Started a Build
We use our build process to also do our deployments. When we merge into the master branch, our build knows that this build should be published out to GitHub and the PowerShell Gallery.
However, instead, I'd like to be able to build/deploy on-demand, after a build, when our team determines we that a specific branch/commit is ready to get deployed. Is there a way to run a deployment script out of our repository on the same commit that triggered a build?
Comments are currently closed for this discussion. You can start a new one.
Keyboard shortcuts
Generic
? | Show this help |
---|---|
ESC | Blurs the current field |
Comment Form
r | Focus the comment reply box |
---|---|
^ + ↩ | Submit the comment |
You can use Command ⌘
instead of Control ^
on Mac
1 Posted by Ilya Finkelshte... on 21 Jun, 2019 10:40 PM
Hi Aaron,
For any built-in deployment provider you can use Environment deployment. Difference with Inline deployment (which you do now) is described here. However Environment deployment does not support custom scripts now. If your deployment is based on custom script, you can use a workaround called deployment project. It requires a little bit of scripting, but should not take too long to tune up.
Let us know if you have any issues with it.
Ilya.
Ilya Finkelshteyn closed this discussion on 22 Aug, 2019 09:01 PM.