From d547974e5c73d600edc92fab936a93815f1a4e5b Mon Sep 17 00:00:00 2001 From: Abel Soares Siqueira Date: Sat, 25 Jun 2022 20:52:40 +0200 Subject: [PATCH] :wrench: Updating files to keep up with template --- .github/workflows/Deploy.yml | 6 +++--- getdeps.sh | 10 +++++----- 2 files changed, 8 insertions(+), 8 deletions(-) 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