diff --git a/ansible/deploy/after-symlink-shared.yml b/ansible/deploy/after-symlink-shared.yml index f409c8ec..26d79fbb 100644 --- a/ansible/deploy/after-symlink-shared.yml +++ b/ansible/deploy/after-symlink-shared.yml @@ -1,11 +1,11 @@ --- -- name: Install node dependencies +- name: Install Node dependencies command: yarn install args: chdir: "{{ ansistrano_release_path.stdout }}" -- name: Build assets - command: npm run prod +- name: Install Webpack Encore assets + command: './node_modules/.bin/encore production' args: chdir: "{{ ansistrano_release_path.stdout }}"