4.8 KiB
shopware
- Requires
Usage
Add {{repository}} to your deploy.php file:
set('repository', 'git@github.com:shopware/production.git');
:::note Please remember that the installation must be modified so that it can be build without database. :::
Configuration
default_timeout
Overrides default_timeout from recipe/common.php
.
shared_files
Overrides shared_files from recipe/deploy/shared.php
.
These files are shared among all releases.
[
'.env',
'install.lock',
'public/.htaccess',
'public/.user.ini',
]
shared_dirs
Overrides shared_dirs from recipe/deploy/shared.php
.
These directories are shared among all releases.
[
'config/jwt',
'files',
'var/log',
'public/media',
'public/thumbnail',
'public/sitemap',
]
writable_dirs
Overrides writable_dirs from recipe/deploy/writable.php
.
These directories are made writable (the definition of "writable" requires attention).
Please note that the files in config/jwt/*
receive special attention in the sw:writable:jwt
task.
[
'config/jwt',
'custom/plugins',
'files',
'press_files',
'public/bundles',
'public/css',
'public/fonts',
'public/js',
'public/media',
'public/sitemap',
'public/theme',
'public/thumbnail',
'var',
]
Tasks
sw:cache:clear
This task remotely executes the cache:clear
console command on the target server.
sw:cache:warmup
This task remotely executes the cache warmup console commands on the target server, so that the first user, who visits the website, doesn't have to wait for the cache to be built up.
sw:database:migrate
This task remotely executes the database:migrate
console command on the target server.
sw:plugin:refresh
sw:plugin:update:all
sw:writable:jwt
sw:deploy
Grouped SW deploy tasks.
This task is group task which contains next tasks:
deploy
Deploys your project.
This task is group task which contains next tasks:
sw-build-without-db:get-remote-config
sw-build-without-db:build
sw-build-without-db
This task is group task which contains next tasks: