-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.shopware-project.yml
55 lines (50 loc) · 1.69 KB
/
.shopware-project.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
# FMJ Studios Shopware
# .shopware-project.yml (mostly) configures the Shopware-CLI
# ref: https://sw-cli.fos.gg/shopware-project-yml-schema/
url: "https://shopware.internal"
#admin_api:
# # force use of an integration in production - source values from environment
# client_id: ${SHOPWARE_CLIENT_ID}
# client_secret: ${SHOPWARE_CLIENT_SECRET}
# # developer may use the username/password login
# username: ${SHOPWARE_USERNAME}
# password: ${SHOPWARE_PASSWORD}
# disable_ssl_check: false
build:
remove_extension_assets: true
disable_asset_copy: false
keep_source_maps: false
browserslist: "cover 99.5%, >= 0.5% and not dead, last 2 versions"
#sync:
# config:
# - settings:
# SwagPayPal.settings.sandbox: true
# Configure the Shopware Deployment-Helper
# see: https://developer.shopware.com/docs/guides/hosting/installation-updates/deployments/deployment-helper.html
deployment:
hooks:
pre: |
echo "Starting Shopware deployment..."
post: |
echo "Finishing up Shopware deployment!"
pre-install: |
echo "Installing Shopware System..."
post-install: |
echo "Installed Shopware System!"
pre-update: |
echo "Updating Shopware System..."
post-update: |
echo "Updated Shopware System"
# Automatically installs and updates all extensions included in custom/plugins and custom/apps and composer
extension-management:
enabled: true
# These extensions are not managed, you should use one-time-tasks to manage them
# exclude:
# runs one time in deployment, then never again
one-time-tasks:
- id: elasticsearch
script: |
./bin/console es:index -n
- id: cache
script: |
./bin/console cache:clear -n