Skip to content

Commit 217db3d

Browse files
committed
ci: attempt to fix link-checking errors
1 parent 53d499b commit 217db3d

File tree

10 files changed

+17
-31
lines changed

10 files changed

+17
-31
lines changed

.config/dictionaries/blog.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
1+
alloc
12
avenir
23
Bitstream
34
crowdsourced
5+
ebnf
46
endfor
57
endraw
68
evenodd
@@ -21,6 +23,7 @@ mypy
2123
Neo4j
2224
Nuxt
2325
openapitools
26+
opencontainers
2427
pagefind
2528
pathlib
2629
POSIX

.github/workflows/pages.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -57,16 +57,17 @@ jobs:
5757
--site ./public \
5858
--root-selector main
5959
- name: Check content links
60-
uses: lycheeverse/lychee-action@v1.9.0
60+
uses: lycheeverse/lychee-action@v1.10.0
6161
with:
6262
fail: true
63-
args: ./content --verbose --no-progress --insecure
63+
args: ./content --verbose --no-progress --insecure --accept 429,403
6464

6565
- name: Check output links
66-
uses: lycheeverse/lychee-action@v1.9.0
66+
uses: lycheeverse/lychee-action@v1.10.0
6767
with:
6868
fail: true
69-
args: ./content --verbose --no-progress --insecure
69+
70+
args: ./content --verbose --no-progress --insecure --accept 429,403
7071

7172
- name: Upload artifact
7273
uses: actions/upload-pages-artifact@v3 # This will automatically upload an artifact from the '/_site' directory

assets/copy_on_click.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import { copyToClipboard } from "./lib/copy";
2-
const buttonTemplate = document.createElement("template");
32
const pre = {
43
icon: "📋",
54
title: "click to copy",
@@ -8,6 +7,7 @@ const post = {
87
icon: "✅",
98
title: "copied",
109
};
10+
const buttonTemplate = document.createElement("template");
1111
buttonTemplate.innerHTML = `<button class="copy-on-click" style="border: none; background: none" title="${pre.title}">${pre.icon}</button>`;
1212
const _copyElement = (e: MouseEvent) => {
1313
const button = e.target as HTMLElement;

content/posts/2019-08-13-jenkins_rewrite.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
---
22
title: Rewriting this site with Jekyll
3-
layout: main
4-
categories:
5-
- posts
63
---
74

85
## Why bother?

content/posts/2020-04-12-submodule_of_local_branch.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
---
22
title: submodule of a local branch
3-
layout: main
4-
categories:
5-
- posts
3+
tags:
4+
- git
5+
- shell
66
---
77

88
Ever wanted to check in your build artifacts into a build-specific branch?

content/posts/2022-03-02-parsing_psql.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
---
22
title: parsing psql
3-
layout: main
4-
categories:
5-
- posts
3+
tags:
4+
- parsing
5+
- sql
66
---
77

88
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.

content/posts/2022-07-30-sql_convention.md

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -17,15 +17,3 @@ Feel free to send me links to sample databases and other permissively-copyrighte
1717
[i.s.compat.table]: https://github.com/i-s-compat-table/
1818
[sql_parser_tests]: https://github.com/skalt/sql_parser_tests
1919
[nist-artifact]: https://github.com/apache/derby/tree/cc457a99b575db678e490cfb1c916100bae31dd7/java/org.apache.derby.tests/org/apache/derbyTesting/functionTests/tests/nist
20-
21-
<!--
22-
[tpc-h]: https://www.tpc.org/tpch/
23-
[nist-form]: https://www.itl.nist.gov/div897/ctg/sql_form.htm
24-
[nist-news]: https://www.hpcwire.com/1996/09/06/nist-will-cease-creating-new-sql-tests-by-1997/
25-
https://www.iso.org/standard/63555.html
26-
https://www.scattered-thoughts.net/writing/against-sql/
27-
https://www.cockroachlabs.com/docs/stable/frequently-asked-questions.html#why-does-cockroachdb-use-the-postgresql-wire-protocol-instead-of-the-mysql-protocol
28-
https://docs.pingcap.com/tidb/stable/overview#key-features
29-
https://github.com/sqlparser-rs/sqlparser-rs#sql-compliance
30-
https://github.com/elliotchance/sqltest
31-
-->

content/posts/2022-08-13-translating_types_with_fastapi_and_openapi.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
---
22
title: "translating types with `FastAPI` and `OpenAPI`"
3-
layout: main
43
date: 2022-08-13
54
---
65

content/projects/flask_webpack.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
---
2-
identifier: flask-webpack
32
title: "`flask-webpack`"
43
repo: &repo skalt/flask-webpack
5-
link: *repo
64
date: 2018-09-14
75
archived: true
86
---

scripts/serve.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@ hugo --gc --buildDrafts
55
mkdir -p ./static/
66
rm -rf ./static/pagefind
77
pagefind --site ./public --output-path ./static/pagefind --root-selector main
8-
python3 -c 'import time, webbrowser; time.sleep(2); webbrowser.open("http://localhost:1313/")' &
9-
hugo serve --buildDrafts "$@"
8+
python3 -c 'import time,webbrowser; time.sleep(2); webbrowser.open("http://localhost:1313/")' &
9+
hugo serve --bind "0.0.0.0" --buildDrafts "$@"
1010

0 commit comments

Comments
 (0)