Deployment Order
Hi,
I have an environment and I am deploy a Windows App and Web App(IIS).
The Windows App is a DB schema update which needs to run first before the Web App deploy. Question is how will i make sure that the WebApp does not get deployed if the Windows Application exits with a non zero exit code.
Btw, i am running the WIndows App(DbUpgrade) in deploy.ps1 script.
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

Support Staff 1 Posted by Feodor Fitsner on 20 Sep, 2024 05:37 PM
Hi Aristotle,
You can control/pin the order of deployed applications with
deploy_ordersetting (see here for more details).I would add
before-deploy.ps1into web app artifact, check the status of windows service and fail if it's not running. Hope that helps.Feodor Fitsner closed this discussion on 20 Nov, 2024 09:09 PM.