diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 94bd50a392d5248c22c64cc0e17df366736c9500..ca9df28cca23947863fd2e28430595be34cc5088 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -3,6 +3,7 @@ image: docker.doit.wisc.edu/registrar/angular-cli-builder:1.2.0
 
 variables:
   S3_BUCKET_NAME: dev-enroll-app-frontend
+  TEST_S3_BUCKET_NAME: test-enroll-app-frontend
   DEV_CFDIST_ID: E2LLRLV3LNB0E3
 
 stages:
@@ -26,4 +27,16 @@ deploy:
     - aws cloudfront create-invalidation --distribution-id $DEV_CFDIST_ID --paths '/*'
   only:
     - master@adi-ia/course-search-enroll-fe
+  when: manual
+  
+  deploytest:
+  stage: deploy
+  script:
+    - npm install
+    - ng build --prod --base-href /degree-planner --deploy-url /degree-planner/
+    - aws s3 sync --acl public-read --sse --delete dist/course-search-enroll-fe s3://$TEST_S3_BUCKET_NAME
+    - aws configure set preview.cloudfront true
+    - aws cloudfront create-invalidation --distribution-id $TEST_S3_BUCKET_NAME --paths '/*'
+  only:
+    - master@adi-ia/course-search-enroll-fe
   when: manual
\ No newline at end of file