diff --git a/scripts/deploy.sh b/scripts/deploy.sh index bcc247f..09fe1bd 100755 --- a/scripts/deploy.sh +++ b/scripts/deploy.sh @@ -3,8 +3,10 @@ echo "Circle Tag: $CIRCLE_TAG" if [ "$CIRCLE_TAG" != "" ]; then - gem install package_cloud - package_cloud push Hypriot/rpi/debian/stretch output/*/raspberrypi-kernel*.deb output/*/linux-libc-dev*.deb + apt-get update + apt-get install -y golang-go + go get github.com/mlafeldt/pkgcloud/... + $HOME/go/bin/pkgcloud-push Hypriot/rpi/debian/stretch output/*/raspberrypi-kernel*.deb output/*/linux-libc-dev*.deb curl -sSL https://github.com/tcnksm/ghr/releases/download/v0.5.4/ghr_v0.5.4_linux_amd64.zip -o ghr.zip unzip ghr.zip