ci: unzip soapbox.zip before review and deploy jobs
This commit is contained in:
parent
41f0667066
commit
562ee901bb
1 changed files with 4 additions and 1 deletions
|
@ -134,14 +134,17 @@ review:
|
||||||
name: review/$CI_COMMIT_REF_NAME
|
name: review/$CI_COMMIT_REF_NAME
|
||||||
url: https://$CI_COMMIT_REF_SLUG.git.soapbox.pub
|
url: https://$CI_COMMIT_REF_SLUG.git.soapbox.pub
|
||||||
script:
|
script:
|
||||||
|
- mkdir -p dist
|
||||||
|
- busybox unzip soapbox.zip -o -d dist
|
||||||
- npx -y surge dist $CI_COMMIT_REF_SLUG.git.soapbox.pub
|
- npx -y surge dist $CI_COMMIT_REF_SLUG.git.soapbox.pub
|
||||||
allow_failure: true
|
allow_failure: true
|
||||||
|
|
||||||
pages:
|
pages:
|
||||||
stage: deploy
|
stage: deploy
|
||||||
script:
|
script:
|
||||||
|
- mkdir -p public
|
||||||
# artifacts are kept between jobs
|
# artifacts are kept between jobs
|
||||||
- mv dist public
|
- busybox unzip soapbox.zip -o -d public
|
||||||
variables:
|
variables:
|
||||||
NODE_ENV: production
|
NODE_ENV: production
|
||||||
artifacts:
|
artifacts:
|
||||||
|
|
Loading…
Reference in a new issue