diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 6e0fe724683b15acb4531ff43c8569f6fc4bc522..4e42c92cf3089453ab7e26dc398fc33d9684f964 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -38,6 +38,7 @@ deployToS3:
     - ./aws/install
   script:
     - aws2 s3 rm s3://$S3_BUCKET_NAME/ --recursive
+    - npm run build
     - aws2 s3 cp dist s3://$S3_BUCKET_NAME/ --recursive --acl public-read
   when: manual
   only: