forked from aliannas2/react-app-devops
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathappspec.yml
More file actions
35 lines (30 loc) · 921 Bytes
/
appspec.yml
File metadata and controls
35 lines (30 loc) · 921 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# This is an appspec.yml template file for use with an EC2/On-Premises deployment in CodeDeploy.
version: 0.0
os: linux
files:
- source: /
destination: /home/ubuntu/server
permissions:
- object: /
pattern: "**"
owner: ubuntu
group: ubuntu
hooks:
# During the BeforeInstall deployment lifecycle event, run the commands
# in the script specified in "location".
BeforeInstall:
- location: scripts/before_install.sh
timeout: 1000
runas: root
# During the AfterInstall deployment lifecycle event, run the commands
# in the script specified in "location".
AfterInstall:
- location: scripts/after_install.sh
timeout: 1600
runas: root
# During the ApplicationStart deployment lifecycle event, run the commands
# in the script specified in "location".
ApplicationStart:
- location: scripts/app_start.sh
timeout: 300
runas: root