diff --git a/.github/workflows/Deploy.yml b/.github/workflows/Deploy.yml index 2148b53..6c9a73f 100644 --- a/.github/workflows/Deploy.yml +++ b/.github/workflows/Deploy.yml @@ -23,7 +23,7 @@ jobs: - name: Fix URLs for PR preview deployment (pull request previews) if: github.event_name == 'pull_request' run: | - echo "PREVIEW_FRANKLIN_WEBSITE_URL=https://tutorial-template.netlify.app/previews/PR${{ github.event.number }}/" >> $GITHUB_ENV + echo "PREVIEW_FRANKLIN_WEBSITE_URL=https://introduction-to-solverbenchmark.netlify.app/previews/PR${{ github.event.number }}/" >> $GITHUB_ENV echo "PREVIEW_FRANKLIN_PREPATH=previews/PR${{ github.event.number }}" >> $GITHUB_ENV # NOTE: Python is necessary for the pre-rendering (minification) step @@ -40,7 +40,7 @@ jobs: with: version: 1 - - name: Get dependencies from jso-docs.github.io + - name: Get dependencies from JuliaSmoothOptimizers.github.io run: bash getdeps.sh - name: Build @@ -80,4 +80,4 @@ jobs: github-token: ${{ secrets.GITHUB_TOKEN }} script: | const { issue: { number: issue_number }, repo: { owner, repo } } = context; - github.issues.createComment({ issue_number, owner, repo, body: 'Once the build has completed, you can preview your PR at this URL: https://tutorial-template.netlify.app/previews/PR${{ github.event.number }}/' }); + github.issues.createComment({ issue_number, owner, repo, body: 'Once the build has completed, you can preview your PR at this URL: https://introduction-to-solverbenchmark.netlify.app/previews/PR${{ github.event.number }}/' }); diff --git a/getdeps.sh b/getdeps.sh index b9aebf8..f522d89 100644 --- a/getdeps.sh +++ b/getdeps.sh @@ -1,11 +1,11 @@ #!/bin/bash -# Script to clone the jso-docs main repo and get the necessary folders -wget https://github.com/jso-docs/jso-docs.github.io/archive/refs/heads/main.zip +# Script to clone the JuliaSmoothOptimizers main repo and get the necessary folders +wget https://github.com/JuliaSmoothOptimizers/JuliaSmoothOptimizers.github.io/archive/refs/heads/main.zip unzip main.zip if [ -z "$CI" ]; then rm -rf _assets _layout _libs _sass - mv -f jso-docs.github.io-main/{_assets,_layout,_sass,_libs,package.json,config.md,utils.jl} . + mv -f JuliaSmoothOptimizers.github.io-main/{_assets,_layout,_sass,_libs,package.json,config.md,utils.jl} . else - mv -f jso-docs.github.io-main/{_layout,_libs,_sass,package.json,config.md,utils.jl} . + mv -f JuliaSmoothOptimizers.github.io-main/{_layout,_libs,_sass,package.json,config.md,utils.jl} . fi -rm -rf jso-docs.github.io-main main.zip \ No newline at end of file +rm -rf JuliaSmoothOptimizers.github.io-main main.zip \ No newline at end of file