Skip to content

Commit

Permalink
adds the deploy trigger
Browse files Browse the repository at this point in the history
  • Loading branch information
aocneanu committed Jun 27, 2018
1 parent 18c48ba commit b3c856a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
2 changes: 2 additions & 0 deletions .deploy.sh
@@ -0,0 +1,2 @@
curl -s 'https://forge.laravel.com/servers/168624/sites/481656/deploy/http?token=L2P42Kus2HXrTnM7BIQj747Cvw35AcJJqrhNOwvX';
echo 'Deployment triggered!'
7 changes: 4 additions & 3 deletions .travis.yml
Expand Up @@ -5,13 +5,14 @@ php:

before_script:
- cp .env.travis .env
- composer self-update
- composer install --no-interaction
- php artisan key:generate
- php artisan migrate


before_install:
- mysql -e 'CREATE DATABASE enso;'
- mysql -e 'create database enso;'

services:
- mysql
Expand All @@ -31,5 +32,5 @@ sudo: required
script:
- phpunit

notifications:
email: false
after_success:
- chmod +x ./.deploy.sh; ./.deploy.sh

0 comments on commit b3c856a

Please sign in to comment.