Commit add9823b authored by Marc Feger's avatar Marc Feger
Browse files

Update .gitlab.ci to deploy the project only on main branch

parent 7ab673ba
Pipeline #75037 passed with stages
in 58 seconds
...@@ -36,6 +36,8 @@ test: ...@@ -36,6 +36,8 @@ test:
- docker-compose -f docker-compose.ci.yml run web sh -c "poetry run python manage.py makemigrations && poetry run python manage.py migrate && poetry run python manage.py test core -v 2" - docker-compose -f docker-compose.ci.yml run web sh -c "poetry run python manage.py makemigrations && poetry run python manage.py migrate && poetry run python manage.py test core -v 2"
deploy: deploy:
only:
- main
stage: deploy stage: deploy
needs: needs:
- test - test
......
Supports Markdown
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