diff options
author | Jonathan la Cour <jon@lacour.me> | 2017-04-07 02:08:33 +0000 |
---|---|---|
committer | Jonathan la Cour <jon@lacour.me> | 2017-04-07 02:08:33 +0000 |
commit | 177e9c33291aaaaad42b7d507172fdb8bb590108 (patch) | |
tree | a715e41a17080f6f74cb6c8699d144fb0d6c06ec | |
parent | 558cdc9f2fbd1ce87da396cea93c4a814227b36a (diff) | |
download | gitlab-ce-177e9c33291aaaaad42b7d507172fdb8bb590108.tar.gz |
Set NODE_ENV=production for yarn:install
-rw-r--r-- | doc/update/patch_versions.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/update/patch_versions.md b/doc/update/patch_versions.md index 1c493599cf8..f69d567eeb7 100644 --- a/doc/update/patch_versions.md +++ b/doc/update/patch_versions.md @@ -57,7 +57,7 @@ sudo -u git -H bundle clean sudo -u git -H bundle exec rake db:migrate RAILS_ENV=production # Clean up assets and cache -sudo -u git -H bundle exec rake yarn:install gitlab:assets:clean gitlab:assets:compile cache:clear RAILS_ENV=production +sudo -u git -H bundle exec rake yarn:install gitlab:assets:clean gitlab:assets:compile cache:clear RAILS_ENV=production NODE_ENV=production ``` ### 4. Update gitlab-workhorse to the corresponding version |