diff --git a/codedeploy/dev/appspec.yml b/codedeploy/dev/appspec.yml index 99d6b40..18c252b 100644 --- a/codedeploy/dev/appspec.yml +++ b/codedeploy/dev/appspec.yml @@ -5,7 +5,7 @@ files: destination: /var/deployment overwrite: yes hooks: - BeforeInstall: + AfterInstall: - location: scripts/deploy.sh timeout: 300 runas: root \ No newline at end of file diff --git a/codedeploy/prod/appspec.yml b/codedeploy/prod/appspec.yml index 99d6b40..18c252b 100644 --- a/codedeploy/prod/appspec.yml +++ b/codedeploy/prod/appspec.yml @@ -5,7 +5,7 @@ files: destination: /var/deployment overwrite: yes hooks: - BeforeInstall: + AfterInstall: - location: scripts/deploy.sh timeout: 300 runas: root \ No newline at end of file