~reesmichael1/chantpointer

ref: 86f7c6428b606055f352a0abbc3f65ab7cb99edd chantpointer/.gitlab-ci.yml -rw-r--r-- 326 bytes
86f7c642 — Michael Rees List files in build directory 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
25
stages:
    - test
    - build
    - deploy

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

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

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