Try uploading to s3
This commit is contained in:
@@ -1,6 +1,3 @@
|
||||
#
|
||||
#
|
||||
|
||||
language: php
|
||||
php:
|
||||
- '7.0'
|
||||
@@ -29,6 +26,7 @@ addons:
|
||||
# - mysql -e 'CREATE DATABASE IF NOT EXISTS phpvms;'
|
||||
|
||||
before_script:
|
||||
- curl -sL https://raw.githubusercontent.com/travis-ci/artifacts/master/install | bash
|
||||
- cp .travis/env.travis.php env.php
|
||||
- composer install --no-interaction --verbose
|
||||
|
||||
|
||||
@@ -54,6 +54,7 @@ if [ "$TRAVIS" = "true" ]; then
|
||||
|
||||
echo "running rsync"
|
||||
rsync -ahP --delete-after /tmp/$TAR_NAME downloads@phpvms.net:/var/www/phpvms/downloads/
|
||||
artifacts upload /tmp/$TAR_NAME
|
||||
|
||||
curl -X POST --data "{\"content\": \"A new build is available at http://phpvms.net/downloads/$TAR_NAME ($VERSION)\"}" -H "Content-Type: application/json" $DISCORD_WEBHOOK_URL
|
||||
|
||||
|
||||
Reference in New Issue
Block a user