Skip to content

Commit

Permalink
Merge pull request #11 from courtcanva/feature/add-buildspec.yml
Browse files Browse the repository at this point in the history
Create buildspec.yml
  • Loading branch information
ki-ki-316 authored Sep 20, 2022
2 parents 97a4cdf + d9833d1 commit 0c83462
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions buildspec.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
version: 0.2

phases:
install:
runtime-versions:
nodejs: 16
build:
commands:
- echo This is ${ENV}
- echo ${URL} # defined in BuildProject"
- NEXT_PUBLIC_DESIGN_URL=${NEXT_PUBLIC_DESIGN_URL}
- NEXT_PUBLIC_HEALTH_API=${NEXT_PUBLIC_HEALTH_API}
- NEXT_PUBLIC_API_BASE_URI=${NEXT_PUBLIC_API_BASE_URI}
# - NEXT_PUBLIC_GOOGLE_CLIENT_ID=${NEXT_PUBLIC_GOOGLE_CLIENT_ID}
- npm i
- npm run build
- npm run export

artifacts:
base-directory: ./out
files:
- '**/*'

0 comments on commit 0c83462

Please sign in to comment.