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