-
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy path.gitlab-ci.yml
More file actions
39 lines (36 loc) · 749 Bytes
/
.gitlab-ci.yml
File metadata and controls
39 lines (36 loc) · 749 Bytes
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
before_script:
- echo "Hoping this won't break anything"
cooking:
stage: build
rules:
- if: $CI_COMMIT_BRANCH == "dev"
tags:
- polestar
script:
- cd /home/pollux/polaris/DEV/bot/
- git clean -f
- git reset --hard origin/dev
- git pull
- npm install
- npm install @polestar/i18n
baking:
stage: test
tags:
- polestar
script:
- echo "Pls send help"
catapulting:
stage: deploy
rules:
- if: $CI_COMMIT_BRANCH == "beta"
tags:
- polestar
script:
- cd /home/pollux/polaris/LIVE/beta/
- echo "Did this work idk"
- git clean -f
- git reset --hard origin/beta
- git pull
- npm install
- npm install @polestar/i18n
- pm2 restart Pollux.Premium