mirror of
https://github.com/IT4Change/Ocelot-Social.git
synced 2025-12-13 07:45:56 +00:00
Fix commit hash in deploy URL
Executable deploy scripts
This commit is contained in:
parent
fca0a67bfd
commit
f2eca183cc
22
.travis.yml
22
.travis.yml
@ -26,16 +26,6 @@ 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
|
||||
@ -51,7 +41,17 @@ deploy:
|
||||
on:
|
||||
branch: master
|
||||
- provider: script
|
||||
script: scripts/deploy.sh "nitro-$(git rev-parse --short HEAD).human-connection.org"
|
||||
script: scripts/deploy.sh "nitro-$TRAVIS_COMMIT.human-connection.org"
|
||||
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
|
||||
|
||||
0
scripts/docker_push.sh
Normal file → Executable file
0
scripts/docker_push.sh
Normal file → Executable file
Loading…
x
Reference in New Issue
Block a user