ci: install unzip command

environments/review-src-dist-k76xzr/deployments/3916
Alex Gleason 2023-09-18 13:30:55 -05:00
rodzic 562ee901bb
commit 9ce45e3cab
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 7211D1F99744FBB7
1 zmienionych plików z 6 dodań i 2 usunięć

Wyświetl plik

@ -133,18 +133,22 @@ review:
environment:
name: review/$CI_COMMIT_REF_NAME
url: https://$CI_COMMIT_REF_SLUG.git.soapbox.pub
before_script:
- apt-get update -y && apt-get install -y unzip
script:
- 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
allow_failure: true
pages:
stage: deploy
before_script:
- apt-get update -y && apt-get install -y unzip
script:
- mkdir -p public
# artifacts are kept between jobs
- busybox unzip soapbox.zip -o -d public
- unzip soapbox.zip -o -d public
variables:
NODE_ENV: production
artifacts: