diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 04c30d7ca7e2df1a2e0350f413f0f29b37f2beef..047226aa5a6544b7bc048aabd60ad79489121665 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -33,6 +33,8 @@ deploy_dev:
     - ssh -t ${SSH_USER}@${SERVER_DEV} ${SCRIPT_DEV}
   only: 
     - branches
+  except:
+    - /-code$/
   environment: 
     name: dev
     url: ${DEV_URL}
@@ -57,6 +59,8 @@ deploy_aws_dev:
     - bin/deploy-aws
   only: 
     - branches
+  except:
+    - /-code$/
 
 deploy_aws_live:
   image: ebiwd/alpine-ssh