Skip to content
Snippets Groups Projects
Commit 8de1b366 authored by Bastien DUMONT's avatar Bastien DUMONT :angel:
Browse files

Update deploy.md

parent efa05655
No related branches found
No related tags found
No related merge requests found
Pipeline #44771 passed
......@@ -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)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment