From 2bfded10d630b2f59386dabe664596f54a6c95c2 Mon Sep 17 00:00:00 2001 From: Alex Gleason Date: Wed, 18 May 2022 21:48:16 -0500 Subject: [PATCH] Support review apps --- .gitlab-ci.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index d78f27a525..0e9a716ee5 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -92,6 +92,14 @@ docs-deploy: # - yarn # - yarn build +review: + stage: deploy + environment: + name: review/$CI_COMMIT_REF_NAME + url: https://$CI_COMMIT_REF_SLUG.git.soapbox.pub + script: + - npx -y surge static $CI_COMMIT_REF_SLUG.git.soapbox.pub + pages: stage: deploy before_script: []