equal
deleted
inserted
replaced
127 |
127 |
128 # build client js |
128 # build client js |
129 - name: remove build |
129 - name: remove build |
130 file: path="{{clientjs_dir}}/packages/{{item}}" state=absent |
130 file: path="{{clientjs_dir}}/packages/{{item}}" state=absent |
131 with_items: |
131 with_items: |
132 - annotation-dashboard-explorunivers/build |
132 - "{{dashboard_name}}/build" |
133 - dashboard-components/lib |
133 - dashboard-components/lib |
134 |
134 |
135 - name: clientjs npm install |
135 - name: clientjs npm install |
136 command: npm install |
136 command: npm install |
137 args: |
137 args: |
145 - name: clientjs dashboard-components build |
145 - name: clientjs dashboard-components build |
146 command: npm run build |
146 command: npm run build |
147 args: |
147 args: |
148 chdir: "{{clientjs_dir}}/packages/dashboard-components" |
148 chdir: "{{clientjs_dir}}/packages/dashboard-components" |
149 |
149 |
150 - name: clientjs annotation-dashboard-explorunivers build |
150 - name: clientjs dashboard build |
151 command: npm run build |
151 command: npm run build |
152 args: |
152 args: |
153 chdir: "{{clientjs_dir}}/packages/annotation-dashboard-explorunivers" |
153 chdir: "{{clientjs_dir}}/packages/{{dashboard_name}}" |
154 environment: |
154 environment: |
155 REACT_APP_API_URL: "{{annotations_api_url}}/annotations" |
155 REACT_APP_API_URL: "{{annotations_api_url}}/annotations" |
156 REACT_APP_VIA_BASE_URL: "{{via_base_url}}" |
156 REACT_APP_VIA_BASE_URL: "{{via_base_url}}" |
157 REACT_APP_DISCUSSION_URL: "{{discussions_url}}/" |
157 REACT_APP_DISCUSSION_URL: "{{discussions_url}}/" |
|
158 |
158 |
159 |
159 # |
160 # |
160 # Static server |
161 # Static server |
161 # |
162 # |
162 - hosts: remote_static |
163 - hosts: remote_static |