diff --git a/ansible/deploy/after-symlink-shared.yml b/ansible/deploy/after-symlink-shared.yml index 26d79fbb..dee83287 100644 --- a/ansible/deploy/after-symlink-shared.yml +++ b/ansible/deploy/after-symlink-shared.yml @@ -5,7 +5,7 @@ chdir: "{{ ansistrano_release_path.stdout }}" - name: Install Webpack Encore assets - command: './node_modules/.bin/encore production' + command: yarn run encore production args: chdir: "{{ ansistrano_release_path.stdout }}"