@@ -72,7 +72,7 @@ export function initJSProjectWithProfile(cwd: string, settings: Object = {}): Pr
72
72
. sendLine ( s . profileName ) ;
73
73
}
74
74
75
- chain . wait ( 'Try "amplify add api" to create a backend API and then "amplify publish " to deploy everything' ) . run ( ( err : Error ) => {
75
+ chain . wait ( 'Try "amplify add api" to create a backend API and then "amplify push " to deploy everything' ) . run ( ( err : Error ) => {
76
76
if ( err ) {
77
77
reject ( err ) ;
78
78
} else {
@@ -112,7 +112,7 @@ export function initAndroidProjectWithProfile(cwd: string, settings: Object): Pr
112
112
. sendCarriageReturn ( )
113
113
. wait ( 'Please choose the profile you want to use' )
114
114
. sendLine ( s . profileName )
115
- . wait ( 'Try "amplify add api" to create a backend API and then "amplify publish " to deploy everything' )
115
+ . wait ( 'Try "amplify add api" to create a backend API and then "amplify push " to deploy everything' )
116
116
. run ( ( err : Error ) => {
117
117
if ( ! err ) {
118
118
addCircleCITags ( cwd ) ;
@@ -153,7 +153,7 @@ export function initIosProjectWithProfile(cwd: string, settings: Object): Promis
153
153
. sendCarriageReturn ( )
154
154
. wait ( 'Please choose the profile you want to use' )
155
155
. sendLine ( s . profileName )
156
- . wait ( 'Try "amplify add api" to create a backend API and then "amplify publish " to deploy everything' )
156
+ . wait ( 'Try "amplify add api" to create a backend API and then "amplify push " to deploy everything' )
157
157
. run ( ( err : Error ) => {
158
158
if ( ! err ) {
159
159
addCircleCITags ( cwd ) ;
@@ -194,7 +194,7 @@ export function initFlutterProjectWithProfile(cwd: string, settings: Object): Pr
194
194
195
195
singleSelect ( chain , s . region , amplifyRegions ) ;
196
196
197
- chain . wait ( 'Try "amplify add api" to create a backend API and then "amplify publish " to deploy everything' ) . run ( ( err : Error ) => {
197
+ chain . wait ( 'Try "amplify add api" to create a backend API and then "amplify push " to deploy everything' ) . run ( ( err : Error ) => {
198
198
if ( ! err ) {
199
199
resolve ( ) ;
200
200
} else {
@@ -254,7 +254,7 @@ export function initProjectWithAccessKey(
254
254
255
255
singleSelect ( chain , s . region , amplifyRegions ) ;
256
256
257
- chain . wait ( 'Try "amplify add api" to create a backend API and then "amplify publish " to deploy everything' ) . run ( ( err : Error ) => {
257
+ chain . wait ( 'Try "amplify add api" to create a backend API and then "amplify push " to deploy everything' ) . run ( ( err : Error ) => {
258
258
if ( ! err ) {
259
259
resolve ( ) ;
260
260
} else {
@@ -293,7 +293,7 @@ export function initNewEnvWithAccessKey(cwd: string, s: { envName: string; acces
293
293
294
294
singleSelect ( chain , process . env . CLI_REGION , amplifyRegions ) ;
295
295
296
- chain . wait ( 'Try "amplify add api" to create a backend API and then "amplify publish " to deploy everything' ) . run ( ( err : Error ) => {
296
+ chain . wait ( 'Try "amplify add api" to create a backend API and then "amplify push " to deploy everything' ) . run ( ( err : Error ) => {
297
297
if ( ! err ) {
298
298
resolve ( ) ;
299
299
} else {
@@ -323,7 +323,7 @@ export function initNewEnvWithProfile(cwd: string, s: { envName: string }): Prom
323
323
. sendCarriageReturn ( )
324
324
. wait ( 'Please choose the profile you want to use' )
325
325
. sendCarriageReturn ( )
326
- . wait ( 'Try "amplify add api" to create a backend API and then "amplify publish " to deploy everything' )
326
+ . wait ( 'Try "amplify add api" to create a backend API and then "amplify push " to deploy everything' )
327
327
. run ( ( err : Error ) => {
328
328
if ( ! err ) {
329
329
resolve ( ) ;
@@ -357,7 +357,7 @@ export function amplifyInitSandbox(cwd: string, settings: {}): Promise<void> {
357
357
. sendCarriageReturn ( )
358
358
. wait ( 'Please choose the profile you want to use' )
359
359
. sendLine ( s . profileName )
360
- . wait ( 'Try "amplify add api" to create a backend API and then "amplify publish " to deploy everything' )
360
+ . wait ( 'Try "amplify add api" to create a backend API and then "amplify push " to deploy everything' )
361
361
. run ( ( err : Error ) => {
362
362
if ( ! err ) {
363
363
resolve ( ) ;
0 commit comments