diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 3c79685ba43ea3dcc9c32dd1969d16dd44ac147d..de02fa3368b79dde6294c385861c9ec63edfa3b8 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -41,13 +41,14 @@ lint-test-job:   # This job also runs in the test stage.
     - sleep 10
     - echo "No lint issues found."
 
-deploy-job:      # This job runs in the deploy stage.
-  stage: deploy  # It only runs when *both* jobs in the test stage complete successfully.
+deploy-job:      
+  stage: deploy  
   environment: production
   script:
-    - "echo 'Deploying the application'"
-    - "python -m pip install -r requirements.txt" 
-    - "python run.py"
-    - sleep 60
+    - echo 'Deploying the application'
+    - python -m pip install -r requirements.txt 
+    - python run.py &
+    - echo 'Server is running...'
+    - sleep 60  # Let the server run for a minute.
+    - echo 'Stopping server...'
     - pkill -f run.py
-