From a38303621243ef3b3c109a9f3b35e1073aed9d0c Mon Sep 17 00:00:00 2001 From: Alex Gleason Date: Mon, 18 Sep 2023 12:54:21 -0500 Subject: [PATCH] build: produce a soapbox.zip --- .dockerignore | 1 + .gitignore | 1 + .gitlab-ci.yml | 3 ++- 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.dockerignore b/.dockerignore index 7093c4095..2d53bc7e4 100644 --- a/.dockerignore +++ b/.dockerignore @@ -16,6 +16,7 @@ yarn-error.log* /static/ /public/ /dist/ +/soapbox.zip .idea .DS_Store diff --git a/.gitignore b/.gitignore index 398028788..678f25775 100644 --- a/.gitignore +++ b/.gitignore @@ -15,6 +15,7 @@ yarn-error.log* /static/ /public/ /dist/ +/soapbox.zip .idea .DS_Store diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index ab414cc95..2e12a0be5 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -106,11 +106,12 @@ build: # # https://stackoverflow.com/a/9066385 # - git diff --quiet - cp dist/index.html dist/404.html + - cd dist && zip -r ../soapbox.zip . && cd .. variables: NODE_ENV: production artifacts: paths: - - dist/**/* + - soapbox.zip docs-deploy: stage: deploy