try it with curl
This commit is contained in:
parent
3bbae31577
commit
21735e067b
2 changed files with 1 additions and 3 deletions
|
@ -9,7 +9,7 @@ cache:
|
||||||
directories:
|
directories:
|
||||||
- vendor
|
- vendor
|
||||||
- "$HOME/.composer/cache"
|
- "$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:
|
env:
|
||||||
matrix:
|
matrix:
|
||||||
- WP_VERSION=latest WP_MULTISITE=0
|
- WP_VERSION=latest WP_MULTISITE=0
|
||||||
|
|
2
bin/deploy.sh
Executable file → Normal file
2
bin/deploy.sh
Executable file → Normal file
|
@ -66,8 +66,6 @@ svn st | grep '^!' | sed -e 's/\![ ]*/svn del -q /g' | sh
|
||||||
echo "Run svn add"
|
echo "Run svn add"
|
||||||
svn st | grep '^?' | sed -e 's/\?[ ]*/svn add -q /g' | sh
|
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 tag number and credentials are provided, commit to trunk.
|
||||||
if [[ $TRAVIS_TAG && $SVN_USER && $SVN_PASS ]]; then
|
if [[ $TRAVIS_TAG && $SVN_USER && $SVN_PASS ]]; then
|
||||||
if [[ ! -d tags/$TRAVIS_TAG ]]; then
|
if [[ ! -d tags/$TRAVIS_TAG ]]; then
|
||||||
|
|
Loading…
Reference in a new issue