Skip to content

Commit 0bf6f57

Browse files
authored
Create buildspec.yml
1 parent b674602 commit 0bf6f57

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

buildspec.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
version: 0.2
2+
env:
3+
variables:
4+
CACHE_CONTROL: "86400"
5+
S3_BUCKET: "{{s3_bucket_url}}"
6+
BUILD_FOLDER: "dist"
7+
phases:
8+
install:
9+
runtime-versions:
10+
nodejs: 12
11+
commands:
12+
- echo Installing source NPM dependencies...
13+
- npm install -g @angular/cli
14+
- cd angular-testing-course
15+
16+
build:
17+
commands:
18+
- echo Build started
19+
- ng build
20+
- npm run gulp
21+
22+
23+
artifacts:
24+
files:
25+
- '**/*'
26+
type: zip
27+
base-directory: 'dist*'
28+
discard-paths: yes

0 commit comments

Comments
 (0)