Skip to content
This repository was archived by the owner on Nov 19, 2024. It is now read-only.

Commit c9dc92e

Browse files
committed
Update sample code as current code is obsolete
1 parent 8001db2 commit c9dc92e

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

src/cloud/project/ece-tools-upgrade-project.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -71,14 +71,14 @@ To upgrade project to use ece-tools:
7171
# We run build hooks before your application has been packaged.
7272
build: |
7373
set -e
74-
php ./vendor/bin/ece-tools build:generate
75-
php ./vendor/bin/ece-tools build:transfer
74+
php ./vendor/bin/ece-tools run scenario/build/generate.xml
75+
php ./vendor/bin/ece-tools run scenario/build/transfer.xml
7676
# We run deploy hook after your application has been deployed and started.
7777
deploy: |
78-
php ./vendor/bin/ece-tools deploy
78+
php ./vendor/bin/ece-tools run scenario/deploy.xml
7979
# We run post deploy hook to clean and warm the cache. Available with ECE-Tools 2002.0.10.
8080
post_deploy: |
81-
php ./vendor/bin/ece-tools post-deploy
81+
php ./vendor/bin/ece-tools run scenario/post-deploy.xml
8282
```
8383

8484
1. Check for and remove the [deprecated packages](#remove-deprecated-packages). The deprecated packages can prevent a successful upgrade.

src/cloud/project/project-upgrade.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -64,14 +64,14 @@ To update the `.magento.app.yaml` file:
6464
# We run build hooks before your application has been packaged.
6565
build: |
6666
set -e
67-
php ./vendor/bin/ece-tools build:generate
68-
php ./vendor/bin/ece-tools build:transfer
67+
php ./vendor/bin/ece-tools run scenario/build/generate.xml
68+
php ./vendor/bin/ece-tools run scenario/build/transfer.xml
6969
# We run deploy hook after your application has been deployed and started.
7070
deploy: |
71-
php ./vendor/bin/ece-tools deploy
71+
php ./vendor/bin/ece-tools run scenario/deploy.xml
7272
# We run post deploy hook to clean and warm the cache. Available with ECE-Tools 2002.0.10.
7373
post_deploy: |
74-
php ./vendor/bin/ece-tools post-deploy
74+
php ./vendor/bin/ece-tools run scenario/post-deploy.xml
7575
```
7676

7777
1. Add the following environment variables to the end of the `magento.app.yaml` file.

0 commit comments

Comments
 (0)