Support review apps

This commit is contained in:
Alex Gleason 2022-05-18 21:48:16 -05:00
parent 9248051846
commit 2bfded10d6
No known key found for this signature in database
GPG key ID: 7211D1F99744FBB7

View file

@ -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: []