Skip to content

Commit

Permalink
Add after script to hard remove cache.
Browse files Browse the repository at this point in the history
  • Loading branch information
rogoit committed Dec 25, 2023
1 parent 2fc9614 commit 0bbdc9a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,8 @@ deploy_live:
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/*
environment:
name: live
url: https://$URL
Expand Down

0 comments on commit 0bbdc9a

Please sign in to comment.