Added server build mode for webpack

This commit is contained in:
hydrant
2019-03-12 16:01:46 +01:00
parent 25037479e0
commit 6fdbad45d1
4 changed files with 42 additions and 7 deletions

View File

@@ -1,18 +1,22 @@
stages:
- build
cache:
key: ${CI_COMMIT_REF_SLUG}
paths:
- ReallifeGamemode.Client/node_modules/
before_script:
- "dotnet restore"
- "git lfs install"
- "git lfs pull"
variables:
GIT_STRATEGY: clone
build:
stage: build
only:
- develop@log-gtav/reallife-gamemode
script:
- "../gm_database_password.sh"
- "dotnet build -c ServerBuild"
- "dotnet build -c ServerBuild"
- "cd ReallifeGamemode.Client/"
- "yarn install"
- "yarn run build:server"