mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-07-19 05:53:51 -04:00
Previous attempt: https://github.com/alphagov/notifications-admin/pull/4048 The problem with the previous attempt is that the assets built on CI become part of the build artefact used for production [1]. This switches back to my original approach of using environment.sh, but with a technique to cope with it being absent on CI. I've tested it works with and without an environment.sh file. Note that "npm install" is fine to be on a separate line, since a non-zero exit code will always cause "make" to stop. [1]: https://github.com/alphagov/notifications-aws/blob/master/concourse/templates/admin.yml.j2#L47
5.8 KiB
5.8 KiB