Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,17 @@ jobs:
- name: Setup Pages
uses: actions/configure-pages@v5

# Regenerate the purged Tailwind CSS and the Font Awesome subset from the
# actual markup before building, so the deployed site is never stale even
# if a PR merged (or a required check was overridden) without the rebuilt
# assets committed. The committed assets/css/*.css + fa-*-subset.woff2 stay
# useful for local `hugo server` previews; this makes production the source
# of truth so a missed `npm run build:*` can't ship a broken icon again.
- name: Regenerate generated assets
run: |
npm run build:css
npm run build:icons

- name: Build with Hugo
env:
HUGO_ENVIRONMENT: production
Expand Down
2 changes: 2 additions & 0 deletions assets/css/fontawesome-subset.css
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
.fa-arrow-up:before{content:"\f062"}
.fa-arrow-up-right-from-square:before{content:"\f08e"}
.fa-bars:before{content:"\f0c9"}
.fa-bluesky:before{content:"\e671"}
.fa-book:before{content:"\f02d"}
.fa-book-open:before{content:"\f518"}
.fa-box-open:before{content:"\f49e"}
Expand All @@ -17,6 +18,7 @@
.fa-calendar-check:before{content:"\f274"}
.fa-calendar-days:before{content:"\f073"}
.fa-calendar-plus:before{content:"\f271"}
.fa-calendar-times:before{content:"\f273"}
.fa-chalkboard-teacher:before{content:"\f51c"}
.fa-check-circle:before{content:"\f058"}
.fa-chevron-down:before{content:"\f078"}
Expand Down
2 changes: 1 addition & 1 deletion assets/css/tailwind.css

Large diffs are not rendered by default.

Binary file modified assets/fonts/fa-brands-subset.woff2
Binary file not shown.
Binary file modified assets/fonts/fa-solid-subset.woff2
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
(dict "key" "twitter" "icon" "fab fa-twitter" "label" "Twitter")
(dict "key" "mastodon" "icon" "fab fa-mastodon" "label" "Mastodon")
(dict "key" "linkedin" "icon" "fab fa-linkedin" "label" "LinkedIn")
(dict "key" "bluesky" "icon" "fas fa-cloud" "label" "Bluesky")
(dict "key" "bluesky" "icon" "fab fa-bluesky" "label" "Bluesky")
-}}
{{- $any := false -}}
{{- range $links }}{{ if index $p .key }}{{ $any = true }}{{ end }}{{ end -}}
Expand Down
Loading