Skip to content

Commit 9ad36a4

Browse files
committed
minor #2246 [Site] Skip yarn & npm install during deploy (smnandre)
This PR was merged into the 2.x branch. Discussion ---------- [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: Commits ------- 19da2ca [Site] Skip yarn & npm install during deploy
2 parents 36140a3 + 19da2ca commit 9ad36a4

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)