Skip to content

Commit

Permalink
Install frontend assets only on dev VM
Browse files Browse the repository at this point in the history
When deploying from tar this isn't needed because the
assets should already be inside the tar file.
  • Loading branch information
pablothedude committed Jul 6, 2020
1 parent 7212480 commit dda0d73
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion roles/stepup-ra/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,10 @@
- "{{inventory_dir }}/files/stepup-app/images/second-factor/*"

- name: Install frontend assets
command: yarn build
command: php72 /usr/local/bin/composer frontend-install
args:
chdir: "{{ component_dir_name }}"
when: (develop | default(false))

- name: Clear and warmup cache
command: php72 bin/console cache:clear --env=prod {{ debug_flag }}
Expand Down

0 comments on commit dda0d73

Please sign in to comment.