Adjust build order

This commit is contained in:
Shawn 2018-12-10 00:04:34 -06:00
parent 997e909117
commit d3741c5da1

View file

@ -18,16 +18,8 @@ cache:
jobs:
include:
- stage: "Configure"
name: "Configure Spee.ch"
script:
- cp ./cli/defaults/* ./site/config/
- |
echo \'{ "sessionKey": "session", "masterPassword": false }\' > ./site/private/authConfig.json
- stage: "Build"
name: "Build Spee.ch"
- stage: "Setup"
name: "Setup Build Environment"
before_install:
# - sudo mysql -e "use mysql; update user set authentication_string=PASSWORD('password') where User='root'; update user set plugin='mysql_native_password';FLUSH PRIVILEGES;"
@ -42,6 +34,17 @@ jobs:
install:
- npm i
- stage: "Configure"
name: "Configure Spee.ch"
script:
- cp ./cli/defaults/* ./site/config/
- |
echo \'{ "sessionKey": "session", "masterPassword": false }\' > ./site/private/authConfig.json
- stage: "Build"
name: "Build Spee.ch"
script:
# - npm run fix
- npm run build