forked from brave/sync
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appspec.yml
26 lines (26 loc) · 817 Bytes
/
appspec.yml
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
# This is an appspec.yml template file for the sync server for use with
# AWS CodeDeploy.
# The lines in this template starting with the hashtag symbol are
# instructional comments and can be safely left in the file or
# ignored.
# For help completing this file, see the "AppSpec File Reference" in the
# "AWS CodeDeploy User Guide" at
# http://docs.aws.amazon.com/codedeploy/latest/userguide/app-spec-ref.html
version: 0.0
os: linux
files:
- source: .
destination: /opt/sync
hooks:
AfterInstall:
- location: server/bin/npm-install.sh
timeout: 180
ApplicationStop:
- location: server/bin/stop-server.sh
timeout: 20
ApplicationStart:
- location: server/bin/start-server.sh
timeout: 20
ValidateService:
- location: server/bin/validate-server.sh
timeout: 20