From 8de1b36679f20c54fa5ffce9760bb4a5abcda59c Mon Sep 17 00:00:00 2001 From: Bastien DUMONT <bdumont@grandlyon.com> Date: Mon, 24 Oct 2022 15:17:41 +0000 Subject: [PATCH] Update deploy.md --- docs/ecolyo/application/deploy.md | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/docs/ecolyo/application/deploy.md b/docs/ecolyo/application/deploy.md index 00e8aee..2b0dcf9 100644 --- a/docs/ecolyo/application/deploy.md +++ b/docs/ecolyo/application/deploy.md @@ -44,15 +44,15 @@ In order to prevent manual action for deployment, a gitlab-runner has been confi ## Deploy build-test branch to one Scaleway instance for testing You can directly use the content of build-test branch to update one instance for test purpose. -Simply use the dedicated script "update_ecolyo_test.sh <instance_name>" with the targeted instance (from the server). +Simply use the dedicated script `update_ecolyo_test.sh <instance_name>` with the targeted instance (from the server). By default we use the ecolyotest instance for testing intermediate functionality. -For more information you can check for [Easy Cozy scripts](../../../easycozy/scripts/). +For more information you can check for [Easy Cozy scripts](../../../easycozy/commands/). ## Deploy build-dev branch to all Scaleway instances You can directly use the content of build-dev branch to update apps on dev environment using scripts (from the server). -Simply use the dedicated script "update_all_ecolyo_dev.sh" (from the server). -For more information you can check for [Easy Cozy scripts](../../../easycozy/scripts/). +Simply use the dedicated script `update_all_ecolyo_dev.sh` (from the server). +For more information you can check for [Easy Cozy scripts](../../../easycozy/commands/). ## Deploy build branch to Cozy @@ -62,8 +62,12 @@ You can deploy content of build branch into Cozy registry by using the cozy-app- - $VERSION_NUMBER: version of the application - $COZY_SPACE: space of the Cozy -``` -$ yarn cozy-app-publish --token $REGISTRY_TOKEN --build-url https://forge.grandlyon.com/web-et-numerique/llle_project/ecolyo/-/archive/build/ecolyo-build.tar.gz --manual-version $VERSION_NUMBER --space $COZY_SPACE +```sh +$ yarn cozy-app-publish \ +--token $REGISTRY_TOKEN \ +--build-url https://forge.grandlyon.com/web-et-numerique/llle_project/ecolyo/-/archive/build/ecolyo-build.tar.gz \ +--manual-version $VERSION_NUMBER \ +--space $COZY_SPACE ``` -More information at [cozy-app-publish/](https://docs.cozy.io/en/cozy-app-publish/) +More information at [cozy-app-publish](https://docs.cozy.io/en/cozy-app-publish) -- GitLab