~reesmichael1/chantpointer

ref: 25adbf8c2ed9872c7adca48e374705a9c84e1a9a chantpointer/.gitlab-ci.yml -rw-r--r-- 313 bytes
25adbf8c — Michael Rees Remove explicit paths 3 years 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