add aws codebuild file
This commit is contained in:
17
buildspec.yml
Normal file
17
buildspec.yml
Normal file
@@ -0,0 +1,17 @@
|
|||||||
|
version: 0.1
|
||||||
|
phases:
|
||||||
|
install:
|
||||||
|
commands:
|
||||||
|
- ‘touch .npmignore’
|
||||||
|
- ‘npm install -g gatsby’
|
||||||
|
pre_build:
|
||||||
|
commands:
|
||||||
|
- ‘npm install’
|
||||||
|
build:
|
||||||
|
commands:
|
||||||
|
- ‘npm run build’
|
||||||
|
artifacts:
|
||||||
|
base-directory: public
|
||||||
|
files:
|
||||||
|
- ‘**/*’
|
||||||
|
discard-paths: yes
|
||||||
Reference in New Issue
Block a user