Skip to content
Snippets Groups Projects
Commit f7881ab1 authored by Lene Wasskog's avatar Lene Wasskog
Browse files

chore: Use only main branch for ci/cd, make deploy step manual

parent 1a186793
No related branches found
No related tags found
No related merge requests found
Pipeline #5084 passed
...@@ -6,7 +6,7 @@ stages: ...@@ -6,7 +6,7 @@ stages:
variables: variables:
ENV_FILE: ".env" ENV_FILE: ".env"
deploy_to_remote_server: deployment:
stage: deploy stage: deploy
tags: tags:
- python - python
...@@ -45,4 +45,5 @@ deploy_to_remote_server: ...@@ -45,4 +45,5 @@ deploy_to_remote_server:
# Make run script executable # Make run script executable
- ssh $SERVER_USER@$SERVER_IP "chmod 755 $HOME_DIR/run_ADASMELIAE.sh" - ssh $SERVER_USER@$SERVER_IP "chmod 755 $HOME_DIR/run_ADASMELIAE.sh"
only: only:
- release - main
when: manual
...@@ -92,3 +92,7 @@ _Warning status example. Showing Europe and the surrounding areas._ ...@@ -92,3 +92,7 @@ _Warning status example. Showing Europe and the surrounding areas._
![Temperature example. Showing Europe and the surrounding areas](./layer_example_temperature.png) ![Temperature example. Showing Europe and the surrounding areas](./layer_example_temperature.png)
_Temperature 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.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment