ci: install unzip command

This commit is contained in:
Alex Gleason 2023-09-18 13:30:55 -05:00
parent 562ee901bb
commit 9ce45e3cab
No known key found for this signature in database
GPG key ID: 7211D1F99744FBB7

View file

@ -133,18 +133,22 @@ review:
environment: environment:
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
before_script:
- apt-get update -y && apt-get install -y unzip
script: script:
- mkdir -p dist - mkdir -p dist
- busybox unzip soapbox.zip -o -d dist - 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
before_script:
- apt-get update -y && apt-get install -y unzip
script: script:
- mkdir -p public - mkdir -p public
# artifacts are kept between jobs # artifacts are kept between jobs
- busybox unzip soapbox.zip -o -d public - unzip soapbox.zip -o -d public
variables: variables:
NODE_ENV: production NODE_ENV: production
artifacts: artifacts: