Remove notify app folder and installed python packages before we deploy the app

This commit is contained in:
Imdad Ahad
2017-02-13 17:13:39 +00:00
parent b2267ae5fc
commit 383553b964
2 changed files with 18 additions and 0 deletions

View File

@@ -5,6 +5,10 @@ files:
- destination: /home/notify-app/notifications-api
source: /
hooks:
BeforeInstall:
- location: scripts/aws_clear_instance.sh
runas: root
timeout: 1000
AfterInstall:
- location: scripts/aws_install_dependencies.sh
runas: root