~reesmichael1/chantpointer

ref: fix_ci chantpointer/.gitlab-ci.yml -rw-r--r-- 313 bytes View raw
a8ef912f — Michael Rees Only build on master 1 year, 6 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
stages:
    - test
    - build
    - deploy

test:
    stage: test
    script:
        - go test
    only:
        - master

build:
    stage: build
    script:
        - go build -o server
    only:
        - master

deploy:
    stage: deploy
    script: sudo systemctl restart server
    only:
        - master