Skip to content

Commit

Permalink
Conversion
Browse files Browse the repository at this point in the history
Update Gemfile.lock

.

.

Update broken-links-site.yml

Update broken-links-site.yml

Delete lychee.toml

Update broken-links-site.yml

Create lychee.toml

Update broken-links-site.yml

Update broken-links-site.yml

Updates

Update _config.yml

Update CNAME

.

gemfile.lock for x86

.

Update news.md

Transfer of content #1

Create about_einstein.md

removed prettier

Update _config.yml

Update _config.yml

Update _config.yml

Update _config.yml

Update _config.yml

.

updates

Update _config.yml

Update _config.yml

Update _config.yml
  • Loading branch information
kastnerp committed Sep 19, 2024
1 parent d3bc489 commit d09e514
Show file tree
Hide file tree
Showing 186 changed files with 1,562 additions and 3,816 deletions.
64 changes: 38 additions & 26 deletions .github/workflows/broken-links-site.yml
Original file line number Diff line number Diff line change
@@ -1,46 +1,58 @@
name: Check for broken links on site
name: Check for broken links

on:
workflow_run:
workflows: [Deploy site]
types: [completed]
workflow_dispatch: # Allow manual triggering

jobs:
check-links-on-site:
# https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#running-a-workflow-based-on-the-conclusion-of-another-workflow
if: ${{ github.event.workflow_run.conclusion == 'success' }}
# available images: https://github.com/actions/runner-images#available-images
check-links:
if: ${{ github.event.workflow_run.conclusion == 'success' || github.event_name == 'workflow_dispatch' }}
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️
- name: Checkout
uses: actions/checkout@v4

- name: Setup Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: "3.2.2"
bundler-cache: true
- name: Update _config.yml ⚙️
uses: fjogeleit/yaml-update-action@main
with:
commitChange: false
valueFile: "_config.yml"
changes: |
{
"giscus.repo": "${{ github.repository }}",
"baseurl": ""
}
- name: Install and Build 🔧

- name: Build site
run: |
pip3 install --upgrade jupyter
export JEKYLL_ENV=production
bundle install
bundle exec jekyll build
- name: Purge unused CSS 🧹
run: |
npm install -g purgecss
purgecss -c purgecss.config.js
- name: Link Checker 🔗
env:
JEKYLL_ENV: production

- name: Run Lychee Link Checker
uses: lycheeverse/[email protected]
with:
args: >-
--verbose
--no-progress
--exclude-path '.*\{\{.*\}\}.*'
--exclude-all-private
--accept 200,204,206,401,403,405,410,451,999
--timeout 30
--max-retries 5
--no-fragment
--insecure
--user-agent "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.124 Safari/537.36"
'./_site/**/*.html'
fail: true
# only check local links
args: --offline --remap '_site(/?.*)/assets/(.*) _site/assets/$2' --verbose --no-progress '_site/**/*.html'
format: markdown
jobSummary: true
output: lychee/out.md
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Create issue on failure
if: failure()
uses: peter-evans/create-issue-from-file@v4
with:
title: Link Checker Report
content-filepath: ./lychee/out.md
labels: report, automated issue
18 changes: 0 additions & 18 deletions .github/workflows/prettier-comment-on-pr.yml

This file was deleted.

36 changes: 0 additions & 36 deletions .github/workflows/prettier-html.yml

This file was deleted.

48 changes: 0 additions & 48 deletions .github/workflows/prettier.yml

This file was deleted.

1 change: 1 addition & 0 deletions .lycheeignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
https://arch.gatech.edu/
2 changes: 1 addition & 1 deletion CNAME
Original file line number Diff line number Diff line change
@@ -1 +1 @@
http://sustainableurbansystems.com/
sustainableurbansystems.com
Loading

0 comments on commit d09e514

Please sign in to comment.