build: produce a soapbox.zip
This commit is contained in:
parent
e46d83a401
commit
a383036212
3 changed files with 4 additions and 1 deletions
|
@ -16,6 +16,7 @@ yarn-error.log*
|
|||
/static/
|
||||
/public/
|
||||
/dist/
|
||||
/soapbox.zip
|
||||
|
||||
.idea
|
||||
.DS_Store
|
||||
|
|
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -15,6 +15,7 @@ yarn-error.log*
|
|||
/static/
|
||||
/public/
|
||||
/dist/
|
||||
/soapbox.zip
|
||||
|
||||
.idea
|
||||
.DS_Store
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue