File tree Expand file tree Collapse file tree 2 files changed +6
-9
lines changed Expand file tree Collapse file tree 2 files changed +6
-9
lines changed Original file line number Diff line number Diff line change @@ -35,15 +35,8 @@ hooks:
35
35
(>&2 SYMFONY_ENV=prod app/console cache:clear --no-warmup)
36
36
(>&2 SYMFONY_ENV=prod app/console cache:warmup)
37
37
38
- # Keep the cache in a persistent directory
39
- # If your cache can be read-only, you can skip this step
40
- (>&2 mkdir -p tmp/cache && mv app/cache/prod tmp/cache/)
41
-
42
38
deploy : |
43
39
set -x -e
44
40
45
- # "install" cache
46
- # If your cache can be read-only, you can skip these steps
47
- rm -rf app/cache/prod
48
- #cp -Rp tmp/bootstrap.php.cache app/bootstrap.php.cache
49
- cp -Rp tmp/cache/prod app/cache/
41
+ (>&2 SYMFONY_ENV=prod app/console cache:clear --no-warmup)
42
+ (>&2 SYMFONY_ENV=prod app/console cache:warmup)
Original file line number Diff line number Diff line change 3
3
if (getenv ('github_token ' )) {
4
4
$ container ->setParameter ('github_token ' , getenv ('github_token ' ));
5
5
}
6
+
7
+ if (getenv ('symfony_docs_secret ' )) {
8
+ $ container ->setParameter ('symfony_docs_secret ' , getenv ('symfony_docs_secret ' ));
9
+ }
You can’t perform that action at this time.
0 commit comments