diff --git a/buildspec.yml b/buildspec.yml new file mode 100644 index 0000000..1512d50 --- /dev/null +++ b/buildspec.yml @@ -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: + - '**/*'