-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuildspec.yml
More file actions
24 lines (22 loc) · 1.03 KB
/
Copy pathbuildspec.yml
File metadata and controls
24 lines (22 loc) · 1.03 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
version: 0.2
phases:
pre_build:
commands:
# run 'npm install' using versions in package-lock.json
- ln -s ./node_modules/pm2/bin/pm2 /usr/bin
- ln -s ./node_modules/pm2/bin/pm2 /usr/local/bin
### artifacts/files
# Required sequence. Represents the locations that contain the build
# output artifacts in the build environment. Contains a sequence of
# scalars, with each scalar representing a separate location where
# CodeBuild can find build output artifacts, relative to the original
# build location or, if set, the base directory. Locations can include
# the following:
# - A single file (for example, my-file.jar).
# - A single file in a subdirectory (for example, my-subdirectory/my-file.jar or my-parent-subdirectory/my-subdirectory/my-file.jar).
# - '**/*' represents all files recursively.
# - my-subdirectory/* represents all files in a subdirectory named my-subdirectory.
# - my-subdirectory/**/* represents all files recursively starting from a subdirectory named my-subdirectory.
artifacts:
files:
- '**/*'