diff --git a/appspec.yml b/appspec.yml index 201db3df..e75130a5 100644 --- a/appspec.yml +++ b/appspec.yml @@ -1,13 +1,20 @@ version: 0.0 os: linux + files: - - source: / - destination: /home/ubuntu/backend + - source: / + destination: /home/ubuntu/spring-github-action overwrite: yes -file_exists_behavior: OVERWRITE permissions: - object: / - pattern: "**" owner: ubuntu - group: ubuntu \ No newline at end of file + group: ubuntu + +hooks: + AfterInstall: + - location: scripts/stop.sh + timeout: 60 + ApplicationStart: + - location: scripts/start.sh + timeout: 60 \ No newline at end of file