From 562ee901bb58a0696cf98dad0185fea9f73a02e1 Mon Sep 17 00:00:00 2001 From: Alex Gleason Date: Mon, 18 Sep 2023 13:23:57 -0500 Subject: [PATCH] ci: unzip soapbox.zip before review and deploy jobs --- .gitlab-ci.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index c5ab8e341..f792f6374 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -134,14 +134,17 @@ review: name: review/$CI_COMMIT_REF_NAME url: https://$CI_COMMIT_REF_SLUG.git.soapbox.pub script: + - mkdir -p dist + - busybox unzip soapbox.zip -o -d dist - npx -y surge dist $CI_COMMIT_REF_SLUG.git.soapbox.pub allow_failure: true pages: stage: deploy script: + - mkdir -p public # artifacts are kept between jobs - - mv dist public + - busybox unzip soapbox.zip -o -d public variables: NODE_ENV: production artifacts: