You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: guides/hosting/installation-updates/deployments/deployment-with-deployer.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -93,7 +93,7 @@ host('SSH-HOSTNAME')
93
93
])
94
94
->setRemoteUser('www-data')
95
95
->set('deploy_path', '/var/www/shopware') // This is the path, where deployer will create its directory structure
96
-
->set('http_user', 'www-data') // Not needed, if the `user` is the same user, the webserver is running with
96
+
->set('http_user', 'www-data') // Not needed, if the `user` is the same user, the webserver is running with
97
97
->set('writable_mode', 'chmod');
98
98
```
99
99
@@ -162,7 +162,7 @@ This task is defined in the `deploy:symlink` default job in the [`deploy.php`](d
162
162
This is the output of `dep deploy env=prod`:
163
163
164
164
```text
165
-
$ dep deploy env=prod
165
+
$ dep deploy env=prod
166
166
167
167
✔ Executing task deploy:prepare
168
168
✔ Executing task deploy:lock
@@ -216,7 +216,7 @@ It will be used in the above-mentioned GitLab CI/CD pipeline or GitHub Actions.
216
216
217
217
Have a look at the following files. All steps are provided with helpful comments.
218
218
219
-
The GitHub Action used above is [shopware/github-actions/project-deployer](https://github.com/shopware/github-actions/tree/main/project-deployer), and the GitLab CI component is [shopware/ci-components/project-deployer](https://gitlab.com/shopware/ci-components/project-deployer).
219
+
The GitHub Action used above is [shopware/github-actions/project-deployer](https://github.com/shopware/github-actions/tree/main/project-deployer), and the GitLab CI component is [shopware/ci-components/project-deployer](https://gitlab.com/shopware/ci-components/-/blob/main/templates/project-deployer.yml).
220
220
221
221
### .gitlab-ci.yml
222
222
@@ -277,7 +277,7 @@ host('SSH-HOSTNAME')
277
277
->set('deploy_path', '/var/www/shopware')
278
278
->set('http_user', 'www-data') // Not needed, if the `user` is the same, the webserver is running with
279
279
->set('writable_mode', 'chmod')
280
-
->set('keep_releases', 3); // Keeps 3 old releases for rollbacks (if no DB migrations were executed)
280
+
->set('keep_releases', 3); // Keeps 3 old releases for rollbacks (if no DB migrations were executed)
0 commit comments