diff --git a/.github/workflows/update-gh-pages.yml b/.github/workflows/update-gh-pages.yml index a6659e8b..669315e1 100644 --- a/.github/workflows/update-gh-pages.yml +++ b/.github/workflows/update-gh-pages.yml @@ -18,8 +18,7 @@ jobs: with: node-version: ${{ matrix.node-version }} - run: yarn install - - run: yarn build --env public-path=/Genoverse/dist/ - - name: Commit and push files + - name: Update gh-pages run: | echo $GITHUB_ACTOR git config --local user.email "$GITHUB_ACTOR@users.noreply.github.com" @@ -28,6 +27,13 @@ jobs: git checkout gh-pages git pull git reset --hard origin/master + rm -rf dist + - run: yarn build --env public-path=/Genoverse/dist/ + - name: Commit and push files + run: | + echo $GITHUB_ACTOR + git config --local user.email "$GITHUB_ACTOR@users.noreply.github.com" + git config --local user.name $GITHUB_ACTOR git add -f dist git commit -m "Added dist folder" git push --force origin gh-pages diff --git a/package.json b/package.json index 0c7c9948..b38ec20d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "genoverse", - "version": "4.0.4", + "version": "4.0.5", "description": "Genoverse is a portable, customizable, back-end independent JavaScript and HTML5 based genome browser which allows the user to explore data in a dynamic and interactive manner.", "main": "src/js/Genoverse.js", "directories": { diff --git a/yarn.lock b/yarn.lock index e246d094..22330442 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4205,9 +4205,9 @@ jest@^27.5.1: jest-cli "^27.5.1" jquery-ui@^1.13.0: - version "1.13.1" - resolved "https://registry.yarnpkg.com/jquery-ui/-/jquery-ui-1.13.1.tgz#d0b7a42e73a04c31bb5706adf86f6f8942f64eaa" - integrity sha512-2VlU59N5P4HaumDK1Z3XEVjSvegFbEOQRgpHUBaB2Ak98Axl3hFhJ6RFcNQNuk9SfL6WxIbuLst8dW/U56NSiA== + version "1.13.2" + resolved "https://registry.yarnpkg.com/jquery-ui/-/jquery-ui-1.13.2.tgz#de03580ae6604773602f8d786ad1abfb75232034" + integrity sha512-wBZPnqWs5GaYJmo1Jj0k/mrSkzdQzKDwhXNtHKcBdAcKVxMM3KNYFq+iJ2i1rwiG53Z8M4mTn3Qxrm17uH1D4Q== dependencies: jquery ">=1.8.0 <4.0.0"