From 613702d008db69847f783516521f77b52d5183ef Mon Sep 17 00:00:00 2001 From: Navan Chauhan Date: Sun, 8 Oct 2023 10:28:39 -0600 Subject: trying to add CD --- appspec.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 appspec.yml (limited to 'appspec.yml') diff --git a/appspec.yml b/appspec.yml new file mode 100644 index 0000000..ba4346e --- /dev/null +++ b/appspec.yml @@ -0,0 +1,17 @@ +version: 0.0 +os: linux +files: + - source: / + destination: /home/ec2-user +hooks: + BeforeInstall: + - location: scripts/install_dependencies.sh + timeout: 300 + runas: root + - location: scripts/start_server + timeout: 300 + runas: root + ApplicationStop: + - location: scripts/stop_server + timeout: 300 + runas: root \ No newline at end of file -- cgit v1.2.3