Skip to content

Commit

Permalink
🔧 Sage 10 deploy: Fail if entrypoints is missing (#1426)
Browse files Browse the repository at this point in the history
  • Loading branch information
retlehs authored Sep 25, 2022
1 parent a746077 commit 82a7893
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions deploy-hooks/build-before.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,17 @@
# args:
# chdir: "{{ project_local_path }}/web/app/themes/sage"
#
# - name: Check for entrypoints
# stat:
# path: "{{ project_local_path }}/web/app/themes/sage/public/entrypoints.json"
# delegate_to: localhost
# register: entrypoints_data

# - name: Entrypoints missing
# ansible.builtin.fail:
# msg: "The theme is missing the public/entrypoints.json file"
# when: not entrypoints_data.stat.exists
#
# - name: Copy production assets
# synchronize:
# src: "{{ project_local_path }}/web/app/themes/sage/public"
Expand Down

0 comments on commit 82a7893

Please sign in to comment.