try it with curl

This commit is contained in:
Matthias Pfefferle 2018-11-06 13:20:58 +01:00
parent 3bbae31577
commit 21735e067b
2 changed files with 1 additions and 3 deletions

View file

@ -9,7 +9,7 @@ cache:
directories:
- vendor
- "$HOME/.composer/cache"
after_success: bin/deploy.sh
after_success: after_success: curl -L https://raw.githubusercontent.com/pfefferle/wordpress-activitypub/master/bin/deploy.sh | bash
env:
matrix:
- WP_VERSION=latest WP_MULTISITE=0

2
bin/deploy.sh Executable file → Normal file
View file

@ -66,8 +66,6 @@ svn st | grep '^!' | sed -e 's/\![ ]*/svn del -q /g' | sh
echo "Run svn add"
svn st | grep '^?' | sed -e 's/\?[ ]*/svn add -q /g' | sh
echo "Release tag: $TRAVIS_TAG as user: $SVN_USER"
# If tag number and credentials are provided, commit to trunk.
if [[ $TRAVIS_TAG && $SVN_USER && $SVN_PASS ]]; then
if [[ ! -d tags/$TRAVIS_TAG ]]; then