-
Notifications
You must be signed in to change notification settings - Fork 7
/
.gitlab-ci.yml
50 lines (46 loc) · 1.09 KB
/
.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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
stages:
- update
update-to-development:
stage: update
script:
- sudo chmod +x /var/www/html/academy/dev-academyupdate.sh && sudo bash /var/www/html/academy/dev-academyupdate.sh
only:
- /-DEV$/
- master
except:
- branches
tags:
- runner-development
update-to-development:
stage: update
script:
- sudo chmod +x /var/www/html/devadinusaid/dev-adinusaupdate.sh && sudo bash /var/www/html/devadinusaid/dev-adinusaupdate.sh
only:
- /-DEV-ADINUSA$/
- dev.adinusa.id
except:
- branches
tags:
- runner-development
update-to-development:
stage: update
script:
- sudo chmod +x /var/www/html/devacadtest/devacadtest.sh && sudo bash /var/www/html/devacadtest/devacadtest.sh
only:
- /-DEV-ACAD$/
- nolsatu_test
except:
- branches
tags:
- runner-development
update-to-production:
stage: update
script:
- sudo chmod +x /var/www/html/nolsatu_test/webnolsatutest.sh && sudo bash /var/www/html/nolsatu_test/webnolsatutest.sh
only:
- /-DEV-WEBTEST$/
- nolsatu_test
except:
- branches
tags:
- runner-production