summaryrefslogtreecommitdiff
path: root/appspec.yml
diff options
context:
space:
mode:
authorPhilipp Geyer <philipp@geyer.co.uk>2022-01-28 21:31:55 +0000
committerPhilipp Geyer <philipp@geyer.co.uk>2022-01-28 21:31:55 +0000
commitff525fbcb909048b9b589e4366ff9b0f8d21c417 (patch)
treee3f44e6e97bb4a96e764e17d1afd23e0f742c4a1 /appspec.yml
parent948e7d13c7cb99a615a540fe043a12d5dc242bda (diff)
Changing permissions on deployed directory
Diffstat (limited to 'appspec.yml')
-rw-r--r--appspec.yml4
1 files changed, 4 insertions, 0 deletions
diff --git a/appspec.yml b/appspec.yml
index c38058c..a7e1ff7 100644
--- a/appspec.yml
+++ b/appspec.yml
@@ -4,6 +4,10 @@ files:
- source: /
destination: /home/ec2-user/philippgeyer.co.uk
hooks:
+ AfterInstall:
+ - location: scripts/permissions.sh
+ timeout: 300
+ runas: root
ApplicationStart:
- location: scripts/build.sh
timeout: 300