~reesmichael1/chantpointer

ref: b0b65c712e541f0b613f923396fbf46db099f920 chantpointer/.gitlab-ci.yml -rw-r--r-- 259 bytes
b0b65c71 — Michael Rees Try without ls 2 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
stages:
    - test
    - build
    - deploy

test:
    stage: test
    script:
        - go test

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

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