Skip to content

Commit d9e221d

Browse files
committed
fix: updating occurrences of amplify publish in e2e-core as well
1 parent 8ef0a31 commit d9e221d

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

packages/amplify-codegen-e2e-core/src/init/initProjectHelper.ts

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ export function initJSProjectWithProfile(cwd: string, settings: Object = {}): Pr
7272
.sendLine(s.profileName);
7373
}
7474

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) => {
7676
if (err) {
7777
reject(err);
7878
} else {
@@ -112,7 +112,7 @@ export function initAndroidProjectWithProfile(cwd: string, settings: Object): Pr
112112
.sendCarriageReturn()
113113
.wait('Please choose the profile you want to use')
114114
.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')
116116
.run((err: Error) => {
117117
if (!err) {
118118
addCircleCITags(cwd);
@@ -153,7 +153,7 @@ export function initIosProjectWithProfile(cwd: string, settings: Object): Promis
153153
.sendCarriageReturn()
154154
.wait('Please choose the profile you want to use')
155155
.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')
157157
.run((err: Error) => {
158158
if (!err) {
159159
addCircleCITags(cwd);
@@ -194,7 +194,7 @@ export function initFlutterProjectWithProfile(cwd: string, settings: Object): Pr
194194

195195
singleSelect(chain, s.region, amplifyRegions);
196196

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) => {
198198
if (!err) {
199199
resolve();
200200
} else {
@@ -254,7 +254,7 @@ export function initProjectWithAccessKey(
254254

255255
singleSelect(chain, s.region, amplifyRegions);
256256

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) => {
258258
if (!err) {
259259
resolve();
260260
} else {
@@ -293,7 +293,7 @@ export function initNewEnvWithAccessKey(cwd: string, s: { envName: string; acces
293293

294294
singleSelect(chain, process.env.CLI_REGION, amplifyRegions);
295295

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) => {
297297
if (!err) {
298298
resolve();
299299
} else {
@@ -323,7 +323,7 @@ export function initNewEnvWithProfile(cwd: string, s: { envName: string }): Prom
323323
.sendCarriageReturn()
324324
.wait('Please choose the profile you want to use')
325325
.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')
327327
.run((err: Error) => {
328328
if (!err) {
329329
resolve();
@@ -357,7 +357,7 @@ export function amplifyInitSandbox(cwd: string, settings: {}): Promise<void> {
357357
.sendCarriageReturn()
358358
.wait('Please choose the profile you want to use')
359359
.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')
361361
.run((err: Error) => {
362362
if (!err) {
363363
resolve();

packages/amplify-codegen-e2e-core/src/utils/pinpoint.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ export function initProjectForPinpoint(cwd: string): Promise<void> {
114114

115115
singleSelect(chain, settings.region, amplifyRegions);
116116

117-
chain.wait('Try "amplify add api" to create a backend API and then "amplify publish" to deploy everything').run((err: Error) => {
117+
chain.wait('Try "amplify add api" to create a backend API and then "amplify push" to deploy everything').run((err: Error) => {
118118
if (!err) {
119119
resolve();
120120
} else {

0 commit comments

Comments
 (0)