Files
reallife-gamemode/.gitlab-ci.yml

25 lines
494 B
YAML

stages:
- build
cache:
key: ${CI_COMMIT_REF_SLUG}
paths:
- ReallifeGamemode.Client/node_modules/
before_script:
- "git lfs install"
- "git lfs pull"
build:
stage: build
only:
- develop@log-gtav/reallife-gamemode
script:
- "../gm_database_password.sh"
- "dotnet build -c ServerBuild"
- "cd ReallifeGamemode.Client/"
- "npm install"
- "npm run build:server"
- "cd ../"
- "./gm_copy_build_files.sh"
- "sudo /bin/systemctl restart ragempsrv"