forked from dordnung/Stamm
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.gitlab-ci.yml
27 lines (25 loc) · 926 Bytes
/
.gitlab-ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
image: rays3t/sourcemod-plugins-builder-ci
build:
stage: build
variables:
AUTO_VERSION_REPLACE: '1'
script:
- spcomp
- mkdir -p package/cstrike/addons/sourcemod/scripting/include
- mkdir -p package/cstrike/addons/sourcemod/translations
- mkdir -p package/cstrike/addons/sourcemod/plugins
- mkdir -p package/cstrike/cfg
- mkdir -p package/cstrike/materials
- mkdir -p package/cstrike/models
- mkdir -p package/cstrike/sound
- cp -r compiled/* package/cstrike/addons/sourcemod/plugins
- cp -r cfg/* package/cstrike/cfg
- cp -r translations/* package/cstrike/addons/sourcemod/translations
- cp -r materials/* package/cstrike/materials
- cp -r models/* package/cstrike/models
- cp -r sound/* package/cstrike/sound
artifacts:
name: "${CI_PROJECT_NAME}_${CI_COMMIT_REF_NAME}"
expire_in: 2 week
paths:
- package/*