Skip to content

Commit

Permalink
ci: attempt to fix link-checking errors
Browse files Browse the repository at this point in the history
  • Loading branch information
SKalt committed Sep 14, 2024
1 parent 53d499b commit 994c550
Show file tree
Hide file tree
Showing 10 changed files with 17 additions and 31 deletions.
3 changes: 3 additions & 0 deletions .config/dictionaries/blog.txt
Original file line number Diff line number Diff line change
@@ -1,6 1,8 @@
alloc
avenir
Bitstream
crowdsourced
ebnf
endfor
endraw
evenodd
Expand All @@ -21,6 23,7 @@ mypy
Neo4j
Nuxt
openapitools
opencontainers
pagefind
pathlib
POSIX
Expand Down
9 changes: 5 additions & 4 deletions .github/workflows/pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,16 57,17 @@ jobs:
--site ./public \
--root-selector main
- name: Check content links
uses: lycheeverse/lychee-action@v1.9.0
uses: lycheeverse/lychee-action@v1.10.0
with:
fail: true
args: ./content --verbose --no-progress --insecure
args: ./content --verbose --no-progress --insecure --accept 429

- name: Check output links
uses: lycheeverse/lychee-action@v1.9.0
uses: lycheeverse/lychee-action@v1.10.0
with:
fail: true
args: ./content --verbose --no-progress --insecure

args: ./content --verbose --no-progress --insecure --accept 429

- name: Upload artifact
uses: actions/upload-pages-artifact@v3 # This will automatically upload an artifact from the '/_site' directory
Expand Down
2 changes: 1 addition & 1 deletion assets/copy_on_click.ts
Original file line number Diff line number Diff line change
@@ -1,5 1,4 @@
import { copyToClipboard } from "./lib/copy";
const buttonTemplate = document.createElement("template");
const pre = {
icon: "📋",
title: "click to copy",
Expand All @@ -8,6 7,7 @@ const post = {
icon: "✅",
title: "copied",
};
const buttonTemplate = document.createElement("template");
buttonTemplate.innerHTML = `<button class="copy-on-click" style="border: none; background: none" title="${pre.title}">${pre.icon}</button>`;
const _copyElement = (e: MouseEvent) => {
const button = e.target as HTMLElement;
Expand Down
3 changes: 0 additions & 3 deletions content/posts/2019-08-13-jenkins_rewrite.md
Original file line number Diff line number Diff line change
@@ -1,8 1,5 @@
---
title: Rewriting this site with Jekyll
layout: main
categories:
- posts
---

## Why bother?
Expand Down
6 changes: 3 additions & 3 deletions content/posts/2020-04-12-submodule_of_local_branch.md
Original file line number Diff line number Diff line change
@@ -1,8 1,8 @@
---
title: submodule of a local branch
layout: main
categories:
- posts
tags:
- git
- shell
---

Ever wanted to check in your build artifacts into a build-specific branch?
Expand Down
6 changes: 3 additions & 3 deletions content/posts/2022-03-02-parsing_psql.md
Original file line number Diff line number Diff line change
@@ -1,8 1,8 @@
---
title: parsing psql
layout: main
categories:
- posts
tags:
- parsing
- sql
---

TL;DR: I wrote a bad [`psql`][psql-docs] meta-command parser so you don't have to. Get it at https://github.com/skalt/psql_splitter.
Expand Down
12 changes: 0 additions & 12 deletions content/posts/2022-07-30-sql_convention.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 17,3 @@ Feel free to send me links to sample databases and other permissively-copyrighte
[i.s.compat.table]: https://github.com/i-s-compat-table/
[sql_parser_tests]: https://github.com/skalt/sql_parser_tests
[nist-artifact]: https://github.com/apache/derby/tree/cc457a99b575db678e490cfb1c916100bae31dd7/java/org.apache.derby.tests/org/apache/derbyTesting/functionTests/tests/nist

<!--
[tpc-h]: https://www.tpc.org/tpch/
[nist-form]: https://www.itl.nist.gov/div897/ctg/sql_form.htm
[nist-news]: https://www.hpcwire.com/1996/09/06/nist-will-cease-creating-new-sql-tests-by-1997/
https://www.iso.org/standard/63555.html
https://www.scattered-thoughts.net/writing/against-sql/
https://www.cockroachlabs.com/docs/stable/frequently-asked-questions.html#why-does-cockroachdb-use-the-postgresql-wire-protocol-instead-of-the-mysql-protocol
https://docs.pingcap.com/tidb/stable/overview#key-features
https://github.com/sqlparser-rs/sqlparser-rs#sql-compliance
https://github.com/elliotchance/sqltest
-->
Original file line number Diff line number Diff line change
@@ -1,6 1,5 @@
---
title: "translating types with `FastAPI` and `OpenAPI`"
layout: main
date: 2022-08-13
---

Expand Down
2 changes: 0 additions & 2 deletions content/projects/flask_webpack.md
Original file line number Diff line number Diff line change
@@ -1,8 1,6 @@
---
identifier: flask-webpack
title: "`flask-webpack`"
repo: &repo skalt/flask-webpack
link: *repo
date: 2018-09-14
archived: true
---
Expand Down
4 changes: 2 additions & 2 deletions scripts/serve.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 5,6 @@ hugo --gc --buildDrafts
mkdir -p ./static/
rm -rf ./static/pagefind
pagefind --site ./public --output-path ./static/pagefind --root-selector main
python3 -c 'import time, webbrowser; time.sleep(2); webbrowser.open("http://localhost:1313/")' &
hugo serve --buildDrafts "$@"
python3 -c 'import time,webbrowser; time.sleep(2); webbrowser.open("http://localhost:1313/")' &
hugo serve --bind "0.0.0.0" --buildDrafts "$@"

0 comments on commit 994c550

Please sign in to comment.