From 948e7d13c7cb99a615a540fe043a12d5dc242bda Mon Sep 17 00:00:00 2001 From: Philipp Geyer Date: Fri, 28 Jan 2022 21:26:19 +0000 Subject: Adding deploy build script --- appspec.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'appspec.yml') diff --git a/appspec.yml b/appspec.yml index 97fbb4d..c38058c 100644 --- a/appspec.yml +++ b/appspec.yml @@ -3,4 +3,8 @@ os: linux files: - source: / destination: /home/ec2-user/philippgeyer.co.uk - \ No newline at end of file +hooks: + ApplicationStart: + - location: scripts/build.sh + timeout: 300 + runas: ec2-user \ No newline at end of file -- cgit v1.2.3-70-g09d2