Files
reallife-gamemode/.gitlab-ci.yml
hydrant 5ba137b416 npm??
2021-02-12 15:34:06 +01:00

26 lines
617 B
YAML

stages:
- build
before_script:
- "git lfs install"
- "git lfs pull"
- "git submodule sync --recursive"
- "git submodule update --init --recursive"
- "npm install -g npm"
build:
stage: build
only:
- develop@log-gtav/reallife-gamemode
script:
- "dotnet restore"
- "../gm_database_password.sh"
- "cd ReallifeGamemode.Server/"
- "dotnet build -c Release"
- "cd ../ReallifeGamemode.Client/"
- "npm ci"
- "npm run build:server"
- "cd ../ReallifeGamemode.DataService"
- "dotnet publish -c Release -r linux-x64"
- "cd ../"
- "sudo ../gm_copy_build_files.sh"