diff --git a/.github/.DS_Store b/.github/.DS_Store index 127299e..36b372c 100644 Binary files a/.github/.DS_Store and b/.github/.DS_Store differ diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml index 8d6b79e..10cbfc6 100644 --- a/.github/workflows/pull_request.yml +++ b/.github/workflows/pull_request.yml @@ -140,7 +140,7 @@ jobs: id: build-components run: | course_name=$(head -n 1 _website.yml | cut -d'"' -f 2| tr " " "-") - website_link=$(echo "https://htmlpreview.github.io/?https://raw.githubusercontent.com/$GITHUB_REPOSITORY/preview-${{ github.event.pull_request.number }}/index.html") + website_link=$(echo "https://htmlpreview.github.io/?https://raw.githubusercontent.com/$GITHUB_REPOSITORY/preview-${{ github.event.pull_request.number }}/docs/index.html") echo ::set-output name=website_link::$website_link echo ::set-output name=time::$(date +'%Y-%m-%d') echo ::set-output name=commit_id::$GITHUB_SHA diff --git a/.github/workflows/refresh-site.yml b/.github/workflows/refresh-site.yml index 9a7de40..30bc166 100644 --- a/.github/workflows/refresh-site.yml +++ b/.github/workflows/refresh-site.yml @@ -68,7 +68,6 @@ jobs: git config --system --add safe.directory $GITHUB_WORKSPACE git config --local user.email "actions@github.com" git config --local user.name "GitHub Actions" - git add --force *.html - git add --force site_libs/* + git add --force docs/ git commit -m 'Render site' || echo "No changes to commit" git push origin main || echo "No changes to push" diff --git a/_site.yml b/_site.yml index c105d21..eb3dc1d 100644 --- a/_site.yml +++ b/_site.yml @@ -1,11 +1,11 @@ name: metricminer dashboard -output_dir: '.' +output_dir: 'docs' navbar: title: metricminer dashboard left: - text: Home href: index.html - icon: fa-home + icon: fa-home - text: Calendly href: calendly.html icon: fa-calendar