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.
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_order
setting (see here for more details).I would add
before-deploy.ps1
into web app artifact, check the status of windows service and fail if it's not running. Hope that helps.