~welt/murse

5b98d781fe0c1930be395b193e1a47c432d10c00 — welt 2 months ago 2438321
Don't deploy if not committed to master branch
1 files changed, 3 insertions(+), 0 deletions(-)

M .builds/build.yml
M .builds/build.yml => .builds/build.yml +3 -0
@@ 11,6 11,9 @@ tasks:
    cd murse
    go build -ldflags "-s -w" ./
    GOOS="windows" go build -ldflags "-s -w" ./
    if [ "$(git rev-parse origin/master)" != "$(git rev-parse HEAD)" ]; then \
      complete-build; \
    fi
- upload: |
    echo "StrictHostKeyChecking=no" >> ~/.ssh/config
    rsync murse/murse dl@willow.spiderden.net:/var/www/dl.spiderden.net/murse/murse