diff --git a/.github/workflows/NG-CHM-Artifacts_push_main.yml b/.github/workflows/NG-CHM-Artifacts_push_main.yml index 5595a0e2..5edef6ff 100644 --- a/.github/workflows/NG-CHM-Artifacts_push_main.yml +++ b/.github/workflows/NG-CHM-Artifacts_push_main.yml @@ -133,10 +133,10 @@ jobs: cp ../NGCHM/WebContent/ngChmApp.html viewer.standalone/ echo "Build tag: ${{ needs.make_build_tag.outputs.tag_name }}" > viewer.standalone/build_version.txt echo "Git hash: ${{ github.sha }}" >> viewer.standalone/build_version.txt + git rm viewer.build/server.app/javascript/*.js # rm old minified js files cp -r ../NGCHM/WebContent/server.app viewer.build/ echo "Build tag: ${{ needs.make_build_tag.outputs.tag_name }}" > viewer.build/server.app/build_version.txt echo "Git hash: ${{ github.sha }}" >> viewer.build/server.app/build_version.txt - rm -rf ../NGCHM/WebContent/server.app cp -r ../NGCHM/WebContent/ viewer.source/ echo "Build tag: ${{ needs.make_build_tag.outputs.tag_name }}" > viewer.source/WebContent/build_version.txt echo "Git hash: ${{ github.sha }}" >> viewer.source/WebContent/build_version.txt diff --git a/.github/workflows/NG-CHM-Artifacts_release.yml b/.github/workflows/NG-CHM-Artifacts_release.yml index 82551986..1a88b339 100644 --- a/.github/workflows/NG-CHM-Artifacts_release.yml +++ b/.github/workflows/NG-CHM-Artifacts_release.yml @@ -89,6 +89,7 @@ jobs: cp ../NGCHM/WebContent/ngChmApp.html viewer.standalone/ echo "Build tag: ${{ github.ref_name }}" > viewer.standalone/build_version.txt echo "Git hash: ${{ github.sha }}" >> viewer.standalone/build_version.txt + git rm viewer.build/server.app/javascript/*.js # rm old minified js files cp -r ../NGCHM/WebContent/server.app viewer.build/ echo "Build tag: ${{ github.ref_name }}" > viewer.build/server.app/build_version.txt echo "Git hash: ${{ github.sha }}" >> viewer.build/server.app/build_version.txt