Commit bab52b04 authored by Vesa-Pekka Palmu's avatar Vesa-Pekka Palmu

Automatically scp built binaries

parent 64ed213f
Pipeline #48861317 failed
......@@ -16,6 +16,7 @@ cache:
stages:
- test
- build
- deploy
before_script:
- mkdir -p /go/src/gitlab.com/Depili /go/src/_/builds
......@@ -68,3 +69,15 @@ build:
- sdl-clock
- clock-8001
deploy_latest
stage: deploy
script:
- apt-get update -qq && apt-get install -y -qq sshpass
- ls
- sshpass -V
- export SSHPASS=$USER_PASS
- export TS=$(date +%Y-%m-%d-%H%M%S)
- sshpass -e scp -o stricthostkeychecking=no sdl-clock clock8001@kissa.depili.fi:/var/www/html/clock-8001/testing/sdl-clock-$TS
- sshpass -e scp -o stricthostkeychecking=no matrix-clock clock8001@kissa.depili.fi:/var/www/html/clock-8001/testing/matrix-clock-$TS
only:
- master
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment