Skip to content

Commit

Permalink
Update deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
tuandm committed Jan 29, 2019
1 parent 398a4d7 commit f19f87b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
5 changes: 3 additions & 2 deletions Envoy.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
@task('run_composer')
echo "Starting deployment ({{ $release }})"
cd {{ $new_release_dir }}
echo "Running composer..."
composer install --prefer-dist --no-scripts -q -o
@endtask

Expand All @@ -44,7 +45,7 @@
php artisan storage:link
php artisan migrate --force

echo "Runing npm..."
echo "Running npm..."
npm install
npm run production
@endtask
Expand All @@ -60,7 +61,7 @@

@task('clean_old_releases')
# This will list our releases by modification time and delete all but the 2 most recent.
purging=$(ls -dt {{ $release_dir }}/* | tail -n +2);
purging=$(ls -dt {{ $releases_dir }}/* | tail -n +2);

if [ "$purging" != "" ]; then
echo Purging old releases: $purging;
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
"@babel/plugin-transform-runtime": "^7.2.0",
"@babel/polyfill": "^7.2.5",
"@babel/preset-env": "^7.3.1",
"axios": "^0.18",
"babel-core": "^6.26.3",
"babel-helper-vue-jsx-merge-props": "^2.0.3",
"babel-loader": "^8.0.5",
Expand All @@ -31,21 +30,22 @@
"resolve-url-loader": "^2.3.1",
"sass": "^1.15.2",
"sass-loader": "^7.1.0",
"vue": "^2.5.17",
"vue-template-compiler": "^2.5.22",
"webpack": "^4.29.0",
"webpack-cli": "^3.2.1"
},
"dependencies": {
"axios": "^0.18",
"@websanova/vue-auth": "^2.21.14-beta",
"cross-env": "^5.1",
"element-ui": "^2.4.11",
"js-cookie": "^2.2.0",
"normalize.css": "^8.0.1",
"nprogress": "^0.2.0",
"svg-sprite-loader": "^4.1.3",
"vue": "^2.5.17",
"vue-axios": "^2.1.4",
"vue-router": "^3.0.2",
"vue-template-compiler": "^2.5.22",
"vuex": "^3.1.0"
}
}

0 comments on commit f19f87b

Please sign in to comment.