mirror of
https://github.com/IT4Change/Ocelot-Social.git
synced 2025-12-13 07:45:56 +00:00
Copy+paste deployment configuration from backend
See these commits: 5eae8a89785798519aec66fb708389f6e5ea0327 1b8edc22ff8b900c45486b815a8c9d4465e7edb7
This commit is contained in:
parent
20fcac8567
commit
eb29311cbb
16
.travis.yml
16
.travis.yml
@ -28,3 +28,19 @@ 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/deploy.sh nitro.human-connection.org
|
||||
on:
|
||||
branch: master
|
||||
tags: true
|
||||
- provider: script
|
||||
script: scripts/deploy.sh nitro-staging.human-connection.org
|
||||
on:
|
||||
branch: master
|
||||
- provider: script
|
||||
script: scripts/deploy.sh "nitro-$(git rev-parse --short HEAD).human-connection.org"
|
||||
on:
|
||||
tags: true
|
||||
all_branches: true
|
||||
|
||||
4
scripts/deploy.sh
Executable file
4
scripts/deploy.sh
Executable file
@ -0,0 +1,4 @@
|
||||
#!/bin/bash
|
||||
|
||||
echo "See me deployed at $1 :)"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user