783daf56 by Jeff Balicki

bsr

Signed-off-by: Jeff <jeff@gotenzing.com>
1 parent 48ea2d71
Showing 60 changed files with 33 additions and 2 deletions
/wp-config.php
/wp-content/themes/understrap-child/components
/wp-content/themes/understrap-child/node_modules
/wp-content/uploads
......
php_value upload_max_filesize 10000M
php_value post_max_size 10000M
php_value max_execution_time 300
php_value max_input_time 300
# BEGIN WordPress
# The directives (lines) between "BEGIN WordPress" and "END WordPress" are
......
......@@ -52,6 +52,16 @@ end
namespace :deploy do
desc 'Install composer packages in root'
task :install_packages do
on roles(:web), in: :sequence, wait: 5 do
execute "cd '#{release_path}'; /usr/bin/php73 /home/tenzing_www/composer.phar install --no-dev --prefer-dist --no-interaction --quiet --optimize-autoloader"
end
end
end
# Override `git#create_release` to handle submodules
namespace :git do
desc 'Copy repo to releases'
......@@ -117,7 +127,7 @@ end
# Note that you need to have WP-CLI installed on your server
# Uncomment the following line to run it on deploys if needed
# after 'deploy:publishing', 'deploy:update_option_paths'
after 'deploy:updated', 'deploy:install_packages'
after 'deploy:updated', 'deploy:sync'
#after 'deploy:updated', 'deploy:set_permissions'
after 'deploy:finished', 'deploy:sync_again'
......
{
"_readme": [
"This file locks the dependencies of your project to a known state",
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically"
],
"content-hash": "2cb5701a8e3fe3ffc7f40b70e1c1ff85",
"packages": [],
"packages-dev": [],
"aliases": [],
"minimum-stability": "stable",
"stability-flags": [],
"prefer-stable": false,
"prefer-lowest": false,
"platform": [],
"platform-dev": [],
"plugin-api-version": "2.3.0"
}