Skip to content

Commit 19da2ca

Browse files
committed
[Site] Skip yarn & npm install during deploy
> To disable the JavaScript dependencies and asset building, set NO_NPM or NO_YARN to 1 depending on your package manager. cf https://docs.platform.sh/guides/symfony/integration.html#symfony-build With the correct export syntax :facepalm-sorry:
1 parent 36140a3 commit 19da2ca

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ux.symfony.com/.platform.app.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,8 @@ hooks:
4949
5050
# We don't need to run yarn or npm...
5151
# ...let's skip both build steps
52-
NO_YARN=1
53-
NO_NPM=1
52+
export NO_YARN=1
53+
export NO_NPM=1
5454
5555
(>&2 symfony-build)
5656

0 commit comments

Comments
 (0)