~reesmichael1/chantpointer

ref: f2a91e0d934985bcc5c575041067310479962079 chantpointer/.gitlab-ci.yml -rw-r--r-- 272 bytes
f2a91e0d — Michael Rees Actually run 2 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
stages:
    - test
    - build
    - deploy

test:
    stage: test
    script:
        - go test

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

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