This commit is contained in:
Ariejan de Vroom 2015-12-04 16:14:53 +01:00
parent 56ae8096f8
commit c4f7313dac

View File

@ -2,6 +2,8 @@ image: golang:1.5
before_script: before_script:
- echo "deb http://httpredir.debian.org/debian jessie non-free" >> /etc/apt/sources.list - echo "deb http://httpredir.debian.org/debian jessie non-free" >> /etc/apt/sources.list
- echo $SSH_PRIVATE_KEY > ~/.ssh/id_rsa
- chmod 600 ~/.ssh/id_rsa
- cat /etc/apt/sources.list - cat /etc/apt/sources.list
- apt-get update -yq - apt-get update -yq
- apt-get install -yq --no-install-recommends rsync - apt-get install -yq --no-install-recommends rsync
@ -13,5 +15,6 @@ job:
tags: tags:
- golang - golang
script: script:
- env
- hugo - hugo
- rsync -aqz --delete-after --no-progress public/ -e ssh $RSYNC_TARGET - rsync -aqz --delete-after --no-progress public/ -e ssh $RSYNC_TARGET