Skip to content

Commit

Permalink
Merge branch 'main' of github.com:heinrichreimer/portfolio
Browse files Browse the repository at this point in the history
  • Loading branch information
heinrichreimer committed Jun 17, 2024
2 parents 519ea44 + 797c2d7 commit 5d1727a
Show file tree
Hide file tree
Showing 6 changed files with 19 additions and 21 deletions.
2 changes: 1 addition & 1 deletion .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
version: 2
updates:
- package-ecosystem: "npm"
- package-ecosystem: npm
directory: /assets/
schedule:
interval: weekly
Expand Down
17 changes: 6 additions & 11 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
pull_request:
workflow_dispatch:
schedule:
- cron: "0 7 * * *"
- cron: '0 7 * * *'

jobs:
build:
Expand All @@ -15,16 +15,11 @@ jobs:
- name: 📥 Check-out
uses: actions/checkout@v4
- name: 🧰 Install Hugo
uses: peaceiris/actions-hugo@v2
uses: peaceiris/actions-hugo@v3
with:
hugo-version: '0.123.4'
extended: true
- name: 🧰 Install dart-sass-embedded
run: |
curl -LJO https://github.com/sass/dart-sass-embedded/releases/download/1.56.2/sass_embedded-1.56.2-linux-x64.tar.gz;
echo "9e4f455f7b8619959d7878af2862383be58392eb963a14ff87cc512c03701e2a sass_embedded-1.56.2-linux-x64.tar.gz" | sha256sum -c;
tar -xvf sass_embedded-1.56.2-linux-x64.tar.gz;
echo "$GITHUB_WORKSPACE/sass_embedded/" >> $GITHUB_PATH
run: sudo snap install dart-sass
- name: 🧰 Install Node
uses: actions/setup-node@v4
with:
Expand Down Expand Up @@ -55,7 +50,7 @@ jobs:
uses: lycheeverse/lychee-action@v1
with:
lycheeVersion: '0.13.0'
args: --require-https --verbose --no-progress --base public/ --cache --max-cache-age 1d --exclude https://twitter.com/H1iReimer/ --exclude heinrich@reimer.family --accept 999 --max-retries 10 --max-redirects 10 public/
args: --require-https --verbose --no-progress --max-concurrency 2 --base public/ --cache --max-cache-age 1d --exclude https://twitter.com/H1iReimer/ --exclude heinrich@reimer.family --accept 999 --max-retries 10 --max-redirects 10 public/
fail: true
- name: 📤 Upload public pages
uses: actions/upload-artifact@v4
Expand Down Expand Up @@ -106,14 +101,14 @@ jobs:
id: get-version
run: echo ::set-output name=tag::${GITHUB_REF/refs\/tags\//}
- name: 📥 Download public pages
uses: actions/download-artifact@master
uses: actions/download-artifact@v4
with:
name: public-pages
path: public/
- name: 🗜️ Create public pages archive
run: zip -r public.zip public/
- name: 🚀 Create GitHub release
uses: softprops/action-gh-release@v1
uses: softprops/action-gh-release@v2
with:
name: Release ${{ steps.get-version.outputs.tag }}
draft: false
Expand Down
2 changes: 1 addition & 1 deletion assets/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"license": "SEE LICENSE IN ../LICENSE",
"dependencies": {
"@fortawesome/fontawesome-free": "^6.5.1",
"@fortawesome/fontawesome-free": "^6.5.2",
"academicons": "^1.9.2",
"normalize-scss": "^8.0.0"
}
Expand Down
8 changes: 4 additions & 4 deletions assets/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
# yarn lockfile v1


"@fortawesome/fontawesome-free@^6.5.1":
version "6.5.1"
resolved "https://registry.yarnpkg.com/@fortawesome/fontawesome-free/-/fontawesome-free-6.5.1.tgz#55cc8410abf1003b726324661ce5b0d1c10de258"
integrity sha512-CNy5vSwN3fsUStPRLX7fUYojyuzoEMSXPl7zSLJ8TgtRfjv24LOnOWKT2zYwaHZCJGkdyRnTmstR0P+Ah503Gw==
"@fortawesome/fontawesome-free@^6.5.2":
version "6.5.2"
resolved "https://registry.yarnpkg.com/@fortawesome/fontawesome-free/-/fontawesome-free-6.5.2.tgz#310fe90cb5a8dee9698833171b98e7835404293d"
integrity sha512-hRILoInAx8GNT5IMkrtIt9blOdrqHOnPBH+k70aWUAqPZPgopb9G5EQJFpaBx/S8zp2fC+mPW349Bziuk1o28Q==

academicons@^1.9.2:
version "1.9.2"
Expand Down
7 changes: 3 additions & 4 deletions layouts/partials/site/styles.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{{- $options := dict "transpiler" "dartsass" "outputStyle" "compressed" -}}
{{- with resources.Get "/css/main.scss" | resources.ToCSS $options -}}
<link rel="stylesheet" href="{{ .Permalink }}">
{{- end -}}
{{ $options := dict "transpiler" "dartsass" "outputStyle" "compressed" "enableSourceMap" (not hugo.IsProduction) }}
{{ $style := resources.Get "/css/main.scss" | resources.ToCSS $options | resources.Fingerprint }}
<link rel="stylesheet" href="{{ $style.RelPermalink }}">

{{/* Publish fonts. */}}
{{- range $fontsPathPrefix := slice "/node_modules/@fortawesome/fontawesome-free/webfonts/" "/node_modules/academicons/fonts/" -}}
Expand Down
4 changes: 4 additions & 0 deletions layouts/shortcodes/cv/publications.gohtml
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@
{{- $publisher = replace $publisher "Association for Computational Linguistics" "ACL" -}}
{{- $publisher = replace $publisher "CEUR Workshop Proceedings" "CEUR.ws" -}}
{{- $publisher = replace $publisher "National Institute of Standards and Technology (NIST)" "NIST" -}}
{{- $publisher = replace $publisher "International Joint Conferences on Artificial Intelligence Organization" "IJCAI" -}}
{{- $links := index . "a" -}}
{{- $linksPaper := where $links "-class" "paper" -}}
{{- $linkPaper := "" -}}
Expand Down Expand Up @@ -158,6 +159,9 @@
{{- with strings.FindRESubmatch "Working Notes Papers of the (CLEF [0-9]{4}) Evaluation Labs" $booktitle 1 -}}
{{- $booktitle = index (index . 0) 1 -}}
{{- end -}}
{{- with strings.FindRESubmatch "Lernen. Wissen. Daten. Analysen. – (LWDA [0-9]{4})" $booktitle 1 -}}
{{- $booktitle = index (index . 0) 1 -}}
{{- end -}}
{{- $series := "" -}}
{{- with where $spans "-class" "series" -}}
{{- $series = index (index . 0) "#text" -}}
Expand Down

0 comments on commit 5d1727a

Please sign in to comment.