Skip to content

Commit 2e6927b

Browse files
committed
use AWS_BRANCH
1 parent f64d64d commit 2e6927b

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

amplify.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,10 @@ applications:
55
phases:
66
build:
77
commands:
8+
- nvm install 20.13.1
9+
- nvm use 20.13.1
810
- npm ci --cache .npm --prefer-offline
9-
- npx ampx pipeline-deploy --branch $BACKEND_BRANCH --app-id $AWS_APP_ID --debug
11+
- npx ampx pipeline-deploy --branch $AWS_BRANCH --app-id $AWS_APP_ID
1012
frontend:
1113
phases:
1214
build:
@@ -20,3 +22,5 @@ applications:
2022
baseDirectory: .next
2123
files:
2224
- '**/*'
25+
26+
npx ampx generate outputs --branch main --app-id $AWS_APP_ID

0 commit comments

Comments
 (0)