Skip to content

Commit

Permalink
Fix and energy save in gitlab ci.
Browse files Browse the repository at this point in the history
  • Loading branch information
rogoit committed Apr 24, 2024
1 parent e5646e2 commit 84617e6
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -103,9 +103,8 @@ deploy_live:
- docker login -u $CI_REGISTRY_USER -p $CI_JOB_TOKEN $CI_REGISTRY
script:
- docker compose -f docker-compose.conversis.yml -p $SHORTCODE1 up -d --remove-orphans
- docker exec $SHORTCODE1-web chown www-data:www-data -R /var/www/html/var/
after_script:
- docker exec $SHORTCODE1-web rm -rf /var/www/html/var/cache/*
- docker exec $SHORTCODE1-web chown www-data:www-data -R /var/www/html/var/
environment:
name: live
url: https://$URL
Expand Down

0 comments on commit 84617e6

Please sign in to comment.