mirror of
https://github.com/MilkBowl/VaultAPI.git
synced 2024-10-02 17:47:43 +02:00
run script in bash and chmod the script before attempting to run it.
This commit is contained in:
parent
f45e3c27c9
commit
d1d03b5f95
@ -4,4 +4,5 @@ env:
|
||||
global:
|
||||
secure: lkC+9PeVPx0sFEAITPszoHvPV9jnavsJdA3Slo4FakzTB5AlERHszto4RdenAhPf347r8xKL120YvDxDeYvmffpG7NUcRXfQZxod1SRyFEFUUBC0zGHkLiJlBjAqkSEDacruldT4+1BCqRc/A96zj17knmUkvKnyutQtasOGKxk=
|
||||
after_success:
|
||||
- chmod +x .utility/do-publish.sh
|
||||
- .utility/do-publish.sh
|
||||
|
@ -1,3 +1,5 @@
|
||||
#!/bin/bash
|
||||
|
||||
if [ "$TRAVIS_REPO_SLUG" != "MilkBowl/VaultAPI"] || [ "$TRAVIS_PULL_REQUEST" == "true" ] || [ "$TRAVIS_BRANCH" != "master" ]
|
||||
then
|
||||
echo 'Travis can only publish docs for release builds.'
|
||||
|
Loading…
Reference in New Issue
Block a user