ualbertalib / avalon

University of Alberta's Media Repository based on Avalon
Apache License 2.0
2 stars 2 forks source link

Avalon v6.5 update: add staging environment for webpacker.yml #647

Closed jefferya closed 4 years ago

jefferya commented 4 years ago

During deploy in a staging environment on a staging/test pre-production server, the following error is generated.

RAILS_ENV=staging environment is not defined in config/webpacker.yml, falling back to production environment

Solution: add a staging section modeled after the production section in the yml file.