# HG changeset patch # User ymh # Date 1537461892 -7200 # Node ID 521d1a8c7150c1270117ceff6a23176eaf62217d # Parent b298809518a0d6ad735983d5b4631db1170d6075 Correct deploy script to process the correct dashboard diff -r b298809518a0 -r 521d1a8c7150 deploy/deploy.yml --- 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 #