add aws codebuild file

This commit is contained in:
2022-10-24 15:36:14 +08:00
parent 8480c0f5ca
commit f06d03c799

17
buildspec.yml Normal file
View 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