diff options
| -rw-r--r-- | .travis.yml | 1 | ||||
| -rwxr-xr-x | docker/build.sh | 3 |
2 files changed, 3 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml index f4586702..6f204bdb 100644 --- a/.travis.yml +++ b/.travis.yml @@ -15,4 +15,3 @@ install: script: - pipenv run lint - sh docker/build.sh - - pepper "glimglam.gserv.me" state.apply docker/hacktoberbot -u $SALTAPI_URL -a $SALTAPI_EAUTH --username $SALTAPI_USER --password $SALTAPI_PASS &> /dev/null diff --git a/docker/build.sh b/docker/build.sh index 337f47c6..f0a98e49 100755 --- a/docker/build.sh +++ b/docker/build.sh @@ -10,6 +10,9 @@ echo "Pushing image" docker push pythondiscord/hacktober-bot:latest + + echo "Deploying on server" + pepper "glimglam.gserv.me" state.apply docker/hacktoberbot -u $SALTAPI_URL -a $SALTAPI_EAUTH --username $SALTAPI_USER --password $SALTAPI_PASS &> /dev/null # echo "Deploying container" # curl -H "token: $AUTODEPLOY_TOKEN" $AUTODEPLOY_WEBHOOK |