Skip to content

[Site] Skip yarn & npm install during deploy #2245

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Oct 6, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions ux.symfony.com/.platform.app.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,11 @@ hooks:

curl -s https://get.symfony.com/cloud/configurator | (>&2 bash)

# We don't need to run yarn or npm...
# ...let's skip both build steps
NO_YARN=1
NO_NPM=1

(>&2 symfony-build)

deploy: |
Expand All @@ -55,6 +60,7 @@ hooks:
(>&2 symfony-deploy)

php bin/console app:load-data

# needed because StimulusBundle / asset mapper will currently
# expect this asset mapper directory to exist at runtime
mkdir -p var/translations