diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index f495706f1fe31ed96cc0a8025c9441129be20cca..4c00b30ac03c20c66308ef8529f487f716808ef9 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -6,7 +6,7 @@ stages: variables: ENV_FILE: ".env" -deploy_to_remote_server: +deployment: stage: deploy tags: - python @@ -45,4 +45,5 @@ deploy_to_remote_server: # Make run script executable - ssh $SERVER_USER@$SERVER_IP "chmod 755 $HOME_DIR/run_ADASMELIAE.sh" only: - - release + - main + when: manual diff --git a/README.md b/README.md index a9465fcda85d4544f6cfbd935b14bdbda88ab5e9..e1486cc41113f4ca88e01fc02ccbd79a3b855595 100644 --- a/README.md +++ b/README.md @@ -92,3 +92,7 @@ _Warning status example. Showing Europe and the surrounding areas._  _Temperature example. Showing Europe and the surrounding areas._ + +## CI/CD + +The project contains one long-living branch: `main`. Deployment to the server can be performed by triggering the manual step `deployment` in the Gitlab pipeline.