diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 67cd4d1b9..cf16b1df2 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -58,7 +58,7 @@ jobs: sudo dpkg -i erlang.deb sudo dpkg -i elixir.deb - name: Build release - environment: + env: MIX_ENV: prod run: | scripts/build_release.sh diff --git a/ansible/playbook.yml b/ansible/playbook.yml index 9e44532da..935059bc3 100644 --- a/ansible/playbook.yml +++ b/ansible/playbook.yml @@ -63,9 +63,11 @@ tasks: - name: Compile Release become: no + environment: + MIX_ENV: prod shell: | cd /vagrant - scripts/build_prod_release.sh + scripts/build_release.sh - name: Build Debian Package become: no shell: |