Minor changes

This commit is contained in:
Robert Schäfer 2018-12-14 20:13:15 +01:00
parent f2eca183cc
commit 212725e44d
2 changed files with 11 additions and 11 deletions

View File

@ -26,6 +26,16 @@ script:
- docker-compose exec backend yarn run db:reset
- docker-compose exec backend yarn run db:seed
after_success:
- wget https://raw.githubusercontent.com/DiscordHooks/travis-ci-discord-webhook/master/send.sh
- chmod +x send.sh
- ./send.sh success $WEBHOOK_URL
after_failure:
- wget https://raw.githubusercontent.com/DiscordHooks/travis-ci-discord-webhook/master/send.sh
- chmod +x send.sh
- ./send.sh failure $WEBHOOK_URL
deploy:
- provider: script
script: scripts/docker_push.sh
@ -45,13 +55,3 @@ deploy:
on:
tags: true
all_branches: true
after_success:
- wget https://raw.githubusercontent.com/DiscordHooks/travis-ci-discord-webhook/master/send.sh
- chmod +x send.sh
- ./send.sh success $WEBHOOK_URL
after_failure:
- wget https://raw.githubusercontent.com/DiscordHooks/travis-ci-discord-webhook/master/send.sh
- chmod +x send.sh
- ./send.sh failure $WEBHOOK_URL

View File

@ -1,3 +1,3 @@
#!/bin/bash
#!/usr/bin/env bash
echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin
docker push humanconnection/nitro-backend:latest