Skip to content

Commit

Permalink
Merge pull request #5 from fhdsl/cansavvy/save-google
Browse files Browse the repository at this point in the history
Save things to google if wanted
  • Loading branch information
cansavvy authored Feb 28, 2024
2 parents d253867 + 270354b commit aeeb9cc
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 5 deletions.
Binary file modified .github/.DS_Store
Binary file not shown.
2 changes: 1 addition & 1 deletion .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/refresh-site.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,6 @@ jobs:
git config --system --add safe.directory $GITHUB_WORKSPACE
git config --local user.email "[email protected]"
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"
4 changes: 2 additions & 2 deletions _site.yml
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit aeeb9cc

Please sign in to comment.