diff --git a/.gitignore b/.gitignore
index 820d3f3d35b2b44bdbb298f332138a408f219cc3..770db91597ff13db6c67b5ed65b8d40a4b32aaca 100644
--- a/.gitignore
+++ b/.gitignore
@@ -4,4 +4,5 @@
 /ippidb_backend/PrepareFingerPrints/nbproject/private/
 /ippidb_backend/PrepareFingerPrints/build/
 /ippidb_backend/PrepareFingerPrints/dist/
-.DS_Store
\ No newline at end of file
+.DS_Store
+ippisite/db.sqlite3
\ No newline at end of file
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index a42500e22adf3b21bb3a17d10a9a6a7c1edfb0e7..ca3ff8e3a4a4b383b01a64297c4d330916b416fa 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,3 +1,6 @@
+stages:
+  - test
+  - deploy
 test-centos7:
   image: centos:centos7
   stage: test
@@ -7,4 +10,19 @@ test-centos7:
   - yum install -y gcc graphviz graphviz-devel
   - cd ippisite
   - pip3 install -r requirements.txt
-  - python3 manage.py test
\ No newline at end of file
+  - python3 manage.py test
+test-centos7:
+  image: centos:centos7
+  stage: deploy
+  script:
+  - yum install -y epel-release
+  - yum install install -y python34-pip python34-devel
+  - yum install -y gcc graphviz graphviz-devel
+  - cd ippisite
+  - pip3 install -r requirements.txt
+  - python3 manage.py test
+  environment:
+    name: production
+    url: https://ippidb.pasteur.fr
+  only:
+  - master
\ No newline at end of file