~reesmichael1/chantpointer

0c261e3d2a249ec3d1ae38b77756e23d4b0ce13d — Michael Rees 4 years ago 0f1c872
Specify artifacts in CI
1 files changed, 9 insertions(+), 1 deletions(-)

M .gitlab-ci.yml
M .gitlab-ci.yml => .gitlab-ci.yml +9 -1
@@ 7,12 7,20 @@ test:
    stage: test
    script:
        - go test
    only:
        - master

build:
    stage: build
    script:
        - go build -o server
        - go build -o bin/server
    only:
        - master
    artifacts:
        - bin/server

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