Commit cc0d0fc5 authored by okhin's avatar okhin 🚴

Make message and collectstatic have been run in build stage, they're not needed in deploy

parent 58d4ceab
Pipeline #1123 passed with stages
in 1 minute and 42 seconds
......@@ -30,7 +30,6 @@ job build:
- python manage.py makemessages --exclude env --locale fr
- python manage.py makemessages --exclude env --locale en
- python manage.py makemessages --exclude env --locale de
- python manage.py compilemessages --exclude env
artifacts:
paths:
- campaign/static
......@@ -54,8 +53,6 @@ job deploy preprod:
- pip install coverage
- python /srv/piphone/campaign/setup.py install
- python /srv/piphone/campaign/manage.py migrate
- python /srv/piphone/campaign/manage.py collectstatic --noinput
- python /srv/piphone/campaign/manage.py compilemessages
- touch /srv/piphone/campaign.ready
stage: deploy
tags: [preprod]
......@@ -75,8 +72,6 @@ job deploy prod:
- pip install coverage
- python /srv/piphone/campaign/setup.py install
- python /srv/piphone/campaign/manage.py migrate
- python /srv/piphone/campaign/manage.py collectstatic --noinput
- python /srv/piphone/campaign/manage.py compilemessages
- touch /srv/piphone/campaign.ready
stage: deploy
tags: [piphone]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment