|
|
@ -19,9 +19,9 @@ cache: yarn
|
|
|
|
before_script:
|
|
|
|
before_script:
|
|
|
|
- yarn run build
|
|
|
|
- yarn run build
|
|
|
|
before_deploy:
|
|
|
|
before_deploy:
|
|
|
|
- tar -czf wiki-js.tar.gz * -X .build/.deployexclude
|
|
|
|
- tar -chzf wiki-js.tar.gz * -X .build/.deployexclude
|
|
|
|
- yarn install --production --ignore-scripts --prefer-offline
|
|
|
|
- yarn install --production --ignore-scripts --prefer-offline
|
|
|
|
- tar -czf node_modules.tar.gz -C node_modules .
|
|
|
|
- tar -chzf node_modules.tar.gz -C node_modules .
|
|
|
|
deploy:
|
|
|
|
deploy:
|
|
|
|
provider: releases
|
|
|
|
provider: releases
|
|
|
|
api_key:
|
|
|
|
api_key:
|
|
|
|