--- a/deploy/deploy.yml Thu Sep 20 18:13:36 2018 +0200
+++ b/deploy/deploy.yml Thu Sep 20 18:44:52 2018 +0200
@@ -129,7 +129,7 @@
- name: remove build
file: path="{{clientjs_dir}}/packages/{{item}}" state=absent
with_items:
- - annotation-dashboard-explorunivers/build
+ - "{{dashboard_name}}/build"
- dashboard-components/lib
- name: clientjs npm install
@@ -147,15 +147,16 @@
args:
chdir: "{{clientjs_dir}}/packages/dashboard-components"
- - name: clientjs annotation-dashboard-explorunivers build
+ - name: clientjs dashboard build
command: npm run build
args:
- chdir: "{{clientjs_dir}}/packages/annotation-dashboard-explorunivers"
+ chdir: "{{clientjs_dir}}/packages/{{dashboard_name}}"
environment:
REACT_APP_API_URL: "{{annotations_api_url}}/annotations"
REACT_APP_VIA_BASE_URL: "{{via_base_url}}"
REACT_APP_DISCUSSION_URL: "{{discussions_url}}/"
+
#
# Static server
#