build: produce a soapbox.zip

environments/review-src-dist-k76xzr/deployments/3916
Alex Gleason 2023-09-18 12:54:21 -05:00
rodzic e46d83a401
commit a383036212
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 7211D1F99744FBB7
3 zmienionych plików z 4 dodań i 1 usunięć

Wyświetl plik

@ -16,6 +16,7 @@ yarn-error.log*
/static/ /static/
/public/ /public/
/dist/ /dist/
/soapbox.zip
.idea .idea
.DS_Store .DS_Store

1
.gitignore vendored
Wyświetl plik

@ -15,6 +15,7 @@ yarn-error.log*
/static/ /static/
/public/ /public/
/dist/ /dist/
/soapbox.zip
.idea .idea
.DS_Store .DS_Store

Wyświetl plik

@ -106,11 +106,12 @@ build:
# # https://stackoverflow.com/a/9066385 # # https://stackoverflow.com/a/9066385
# - git diff --quiet # - git diff --quiet
- cp dist/index.html dist/404.html - cp dist/index.html dist/404.html
- cd dist && zip -r ../soapbox.zip . && cd ..
variables: variables:
NODE_ENV: production NODE_ENV: production
artifacts: artifacts:
paths: paths:
- dist/**/* - soapbox.zip
docs-deploy: docs-deploy:
stage: deploy stage: deploy