Skip to content

Commit

Permalink
Lighthouse/actions fixes (#82)
Browse files Browse the repository at this point in the history
* Lower threshold to get things working

* Build via hugo

* Build site for lighthouse-fixes

* Update about

* Build site for lighthouse-fixes

---------

Co-authored-by: github-actions <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
nkuik and github-actions[bot] authored Sep 15, 2023
1 parent 0aef17b commit bfcabd6
Show file tree
Hide file tree
Showing 39 changed files with 3,774 additions and 3,695 deletions.
58 changes: 31 additions & 27 deletions .github/workflows/build-site.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,30 +10,34 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
with:
ref: ${{ github.event.pull_request.head.ref }}

- name: checkout submodules
run: git submodule update --init --recursive

- name: build site
uses: klakegg/actions-hugo@1.0.0
with:
target: docs

- name: run lighthouse ci
uses: treosh/lighthouse-ci-action@10.1.0
with:
configPath: "./lighthouserc.json"
temporaryPublicStorage: true
uploadArtifacts: true

- name: push changes
run: |
git config --global user.name "github-actions"
git config --global user.email "github-actions[bot]@users.noreply.github.com"
git add .
git commit -m "Build site for $GITHUB_HEAD_REF" || true
git push -f origin $GITHUB_HEAD_REF || true
- uses: actions/checkout@v3
with:
ref: ${{ github.event.pull_request.head.ref }}

- name: checkout submodules
run: git submodule update --init --recursive

- name: setup hugo
uses: peaceiris/actions-hugo@v2
with:
hugo-version: "0.117.0"
extended: true

- name: build
run: hugo --minify

- name: run lighthouse ci
uses: treosh/lighthouse-ci-action@10.1.0
with:
configPath: "./lighthouserc.json"
temporaryPublicStorage: true
uploadArtifacts: true

- name: push changes
run: |
git config --global user.name "github-actions"
git config --global user.email "github-actions[bot]@users.noreply.github.com"
git add .
git commit -m "Build site for $GITHUB_HEAD_REF" || true
git push -f origin $GITHUB_HEAD_REF || true
10 changes: 3 additions & 7 deletions config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,17 +29,13 @@ pygmentscodefencesguesssyntax = true
name = "Github"
weight = 1
url = "https://github.com/nkuik/"
[[params.social]]
name = "Twitter"
weight = 2
url = "https://twitter.com/nathankuik/"
[[params.social]]
name = "LinkedIn"
weight = 3
weight = 2
url = "https://www.linkedin.com/in/nathankuik/"
[[params.social]]
name = "Email"
weight = 4
weight = 3
url = "mailto:nathan@nathankuik.com"

[[menu.main]]
Expand Down Expand Up @@ -76,4 +72,4 @@ pygmentscodefencesguesssyntax = true
simple = true
[privacy.youtube]
disable = true
privacyEnhanced = true
privacyEnhanced = true
2 changes: 1 addition & 1 deletion content/about.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# About

Hi. My name is Nathan, and I live in Copenhagen. I am clinical social worker turned developer, and I currently work at [Too Good To Go](https://toogoodtogo.com/en-us) as a DevOps engineer.
Hi. My name is Nathan, and I live in Copenhagen. I am clinical social worker turned developer, and I currently work at LEGO as a senior engineer.

I use this site to collect some of my thoughts about a number of topics in the [blog](/posts/). I'm also happy to accept any kind of request or introduction via [email](mailto:nathan@nathankuik.com).
181 changes: 8 additions & 173 deletions docs/404.html
Original file line number Diff line number Diff line change
@@ -1,173 +1,8 @@
<!DOCTYPE html>
<html lang="en">

<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="Content-Language" content="en">

<meta name="author" content="Nathan Kuik">
<meta name="description" content="Nathan Kuik&#39;s personal website">
<meta name="keywords" content="blog,developer,personal">

<meta name="twitter:card" content="summary"/>
<meta name="twitter:title" content="404 Page not found"/>
<meta name="twitter:description" content="Nathan Kuik&#39;s personal website"/>

<meta property="og:title" content="404 Page not found" />
<meta property="og:description" content="Nathan Kuik&#39;s personal website" />
<meta property="og:type" content="website" />
<meta property="og:url" content="https://nathankuik.com/404.html" />



<title>Home</title>


<link rel="canonical" href="https://nathankuik.com/404.html">


<link rel="preconnect" href="https://fonts.gstatic.com">
<link href="https://fonts.googleapis.com/css?family=Lato:400,700%7CMerriweather:300,700%7CSource+Code+Pro:400,700&display=swap" rel="stylesheet">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/fork-awesome@1.1.7/css/fork-awesome.min.css"
integrity="sha256-gsmEoJAws/Kd3CjuOQzLie5Q3yshhvmo7YNtBG7aaEY=" crossorigin="anonymous">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/normalize.css@8/normalize.min.css">



<link rel="stylesheet" href="https://nathankuik.com/css/coder.min.f01c647a0d25b40da992a37c3376291185eed8a50ced8c26cc2c0bcfe38c97df.css" integrity="sha256-8Bxkeg0ltA2pkqN8M3YpEYXu2KUM7YwmzCwLz&#43;OMl98=" crossorigin="anonymous" media="screen" />








<link rel="stylesheet" href="https://nathankuik.com/css/coder-dark.min.126ad3988d46bdae6217a11105b53c9662bca05f39d42d3c0fb366919d334620.css" integrity="sha256-EmrTmI1Gva5iF6ERBbU8lmK8oF851C08D7NmkZ0zRiA=" crossorigin="anonymous" media="screen" />







<link rel="icon" type="image/png" href="https://nathankuik.com/images/favicon-32x32.png" sizes="32x32">
<link rel="icon" type="image/png" href="https://nathankuik.com/images/favicon-16x16.png" sizes="16x16">

<link rel="apple-touch-icon" href="https://nathankuik.com/images/apple-touch-icon.png">
<link rel="apple-touch-icon" sizes="180x180" href="https://nathankuik.com/images/apple-touch-icon.png">



<meta name="generator" content="Hugo 0.92.2" />
</head>





<body class="colorscheme-auto"
onload=""
>

<div class="float-container">
<a id="dark-mode-toggle" class="colorscheme-toggle">
<i class="fa fa-adjust fa-fw" aria-hidden="true"></i>
</a>
</div>


<main class="wrapper">
<nav class="navigation">
<section class="container">
<a class="navigation-title" href="https://nathankuik.com/">
Home
</a>

<input type="checkbox" id="menu-toggle" />
<label class="menu-button float-right" for="menu-toggle">
<i class="fa fa-bars fa-fw" aria-hidden="true"></i>
</label>
<ul class="navigation-list">


<li class="navigation-item">
<a class="navigation-link" href="https://nathankuik.com/posts/">Blog</a>
</li>

<li class="navigation-item">
<a class="navigation-link" href="https://nathankuik.com/talks/">Talks</a>
</li>

<li class="navigation-item">
<a class="navigation-link" href="https://nathankuik.com/about/">About</a>
</li>



</ul>

</section>
</nav>


<div class="content">

<section class="container centered">
<div class="error">
<h1>404</h1>
<h2>Page Not Found</h2>
<p>Sorry, this page does not exist.<br />You can head back to <a href="https://nathankuik.com/">homepage</a>.</p>
</div>
</section>


</div>


<footer class="footer">
<section class="container">


©

2022
Nathan Kuik


·
Powered by <a href="https://gohugo.io/">Hugo</a> & <a href="https://github.com/luizdepra/hugo-coder/">Coder</a>.


</section>
</footer>


</main>




<script src="https://nathankuik.com/js/dark-mode.min.aee9c8a464eb7b3534c7110f7c5e169e7039e2fd92710e0626d451d6725af137.js"></script>














<script defer src='https://static.cloudflareinsights.com/beacon.min.js'
data-cf-beacon='{"token": "f32f4e211b3a405cadd13585a2bb4310"}'></script>


</body>

</html>
<!doctype html><html lang=en><head><title>Home</title><meta charset=utf-8><meta name=viewport content="width=device-width,initial-scale=1"><meta name=color-scheme content="light dark"><meta name=author content="Nathan Kuik"><meta name=description content="Nathan Kuik's personal website"><meta name=keywords content="blog,developer,personal"><meta name=twitter:card content="summary"><meta name=twitter:title content="404 Page not found"><meta name=twitter:description content="Nathan Kuik's personal website"><meta property="og:title" content="404 Page not found"><meta property="og:description" content="Nathan Kuik's personal website"><meta property="og:type" content="website"><meta property="og:url" content="https://nathankuik.com/404.html"><link rel=canonical href=https://nathankuik.com/404.html><link rel=preload href="https://nathankuik.com/fonts/forkawesome-webfont.woff2?v=1.2.0" as=font type=font/woff2 crossorigin><link rel=stylesheet href=https://nathankuik.com/css/coder.min.0669b62fc2c181a12a4ba10be9984e385c9a5e83dc7cb7ae3759ad0b98d7e8b2.css integrity="sha256-Bmm2L8LBgaEqS6EL6ZhOOFyaXoPcfLeuN1mtC5jX6LI=" crossorigin=anonymous media=screen><link rel=stylesheet href=https://nathankuik.com/css/coder-dark.min.f6534b0b446b75d9b6ad77a97d43ede2ddaeff1b6e2361fb7198d6f8fcb7f83f.css integrity="sha256-9lNLC0Rrddm2rXepfUPt4t2u/xtuI2H7cZjW+Py3+D8=" crossorigin=anonymous media=screen><link rel=icon type=image/png href=https://nathankuik.com/images/favicon-32x32.png sizes=32x32><link rel=icon type=image/png href=https://nathankuik.com/images/favicon-16x16.png sizes=16x16><link rel=apple-touch-icon href=https://nathankuik.com/images/apple-touch-icon.png><link rel=apple-touch-icon sizes=180x180 href=https://nathankuik.com/images/apple-touch-icon.png><link rel=manifest href=https://nathankuik.com/site.webmanifest><link rel=mask-icon href=https://nathankuik.com/images/safari-pinned-tab.svg color=#5bbad5><meta name=generator content="Hugo 0.117.0"></head><body class="preload-transitions colorscheme-auto"><div class=float-container><a id=dark-mode-toggle class=colorscheme-toggle><i class="fa fa-adjust fa-fw" aria-hidden=true></i></a></div><main class=wrapper><nav class=navigation><section class=container><a class=navigation-title href=https://nathankuik.com/>Home</a>
<input type=checkbox id=menu-toggle>
<label class="menu-button float-right" for=menu-toggle><i class="fa fa-bars fa-fw" aria-hidden=true></i></label><ul class=navigation-list><li class=navigation-item><a class=navigation-link href=https://nathankuik.com/posts/>Blog</a></li><li class=navigation-item><a class=navigation-link href=https://nathankuik.com/talks/>Talks</a></li><li class=navigation-item><a class=navigation-link href=https://nathankuik.com/about/>About</a></li></ul></section></nav><div class=content><section class="container centered"><div class=error><h1>404</h1><h2>Page Not Found</h2><p>Sorry, this page does not exist.<br>You can head back to the <a href=https://nathankuik.com/>homepage</a>.</p></div></section></div><footer class=footer><section class=container>©
2023
Nathan Kuik
·
Powered by <a href=https://gohugo.io/>Hugo</a> & <a href=https://github.com/luizdepra/hugo-coder/>Coder</a>.</section></footer></main><script src=https://nathankuik.com/js/coder.min.6ae284be93d2d19dad1f02b0039508d9aab3180a12a06dcc71b0b0ef7825a317.js integrity="sha256-auKEvpPS0Z2tHwKwA5UI2aqzGAoSoG3McbCw73gloxc="></script>
<script defer src=https://static.cloudflareinsights.com/beacon.min.js data-cf-beacon='{"token": "f32f4e211b3a405cadd13585a2bb4310"}'></script></body></html>
Loading

0 comments on commit bfcabd6

Please sign in to comment.