diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 2b7019625a7a828c16b28eeb1749f0276c86100a..e958a4e6740a68a92fe8e8b520bd7f8c07224100 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -32,7 +32,7 @@ production_deploy:
   - kubectl -n $NAMESPACE apply -f "$AWS_ROUTE53_CREDS"
   - kubectl -n $NAMESPACE apply -f kubernetes.yaml
   - kubectl -n $NAMESPACE wait --for=condition=ready pod -l app=tls-tracking-webserver
-  - kubectl -n $NAMESPACE cp public deploy/tls-tracking-webserver:/var/www/
+  - kubectl -n $NAMESPACE cp public $(kubectl -n $NAMESPACE get pod -l app=tls-tracking-webserver -o name):/var/www/
 
   environment:
     name: Production