Compare commits

...

No commits in common. "pages" and "main" have entirely different histories.
pages ... main

25 changed files with 64 additions and 41 deletions

View file

@ -0,0 +1,33 @@
on: [push]
jobs:
test_checkout:
runs-on: debian
steps:
- run: apt-get update -y && apt-get install -y git curl
- run: |
curl -L -O https://github.com/gohugoio/hugo/releases/download/v0.124.1/hugo_extended_0.124.1_linux-amd64.deb
dpkg -i ./hugo_extended_0.124.1_linux-amd64.deb
- run: |
TOKEN=$(echo -n "x-access-token:${GITHUB_TOKEN}" | base64)
mkdir -p "${GITHUB_WORKSPACE}"
cd "${GITHUB_WORKSPACE}"
git init
git remote add origin "${GITHUB_SERVER_URL}/${GITHUB_REPOSITORY}"
git -c http.extraHeader="Authorization: Basic ${TOKEN}" fetch origin "${GITHUB_SHA}"
git checkout "${GITHUB_SHA}"
git submodule update --init --recursive
- run: |
cd "${GITHUB_WORKSPACE}"
hugo --minify
- run: |
cd "${GITHUB_WORKSPACE}/public/"
git init
git config user.email "ci_action@example.com"
git config user.name "CI"
git remote add origin "${GITHUB_SERVER_URL}/${GITHUB_REPOSITORY}"
TOKEN=$(echo -n "x-access-token:${GITHUB_TOKEN}" | base64)
git -c http.extraHeader="Authorization: Basic ${TOKEN}" push origin -d pages || true
git checkout -b pages
git add *
git commit -m "gen pages"
git -c http.extraHeader="Authorization: Basic ${TOKEN}" push -u origin pages

2
.gitignore vendored Normal file
View file

@ -0,0 +1,2 @@
/public/
/resources/

3
.gitmodules vendored Normal file
View file

@ -0,0 +1,3 @@
[submodule "themes/ananke"]
path = themes/ananke
url = https://github.com/theNewDynamic/gohugo-theme-ananke.git

0
.hugo_build.lock Normal file
View file

View file

@ -1,2 +0,0 @@
<!doctype html><html lang=en-us><head><meta charset=utf-8><meta http-equiv=X-UA-Compatible content="IE=edge,chrome=1"><title>My New Hugo Site</title>
<meta name=viewport content="width=device-width,minimum-scale=1"><meta name=description content><meta name=generator content="Hugo 0.124.1"><meta name=robots content="noindex, nofollow"><link rel=stylesheet href=/tst_hugo_action/ananke/css/main.min.css><link rel=canonical href=https://histausse.page.mineau.eu/tst_hugo_action/404.html><meta property="og:title" content="404 Page not found"><meta property="og:description" content><meta property="og:type" content="website"><meta property="og:url" content="https://histausse.page.mineau.eu/tst_hugo_action/404.html"><meta itemprop=name content="404 Page not found"><meta itemprop=description content><meta name=twitter:card content="summary"><meta name=twitter:title content="404 Page not found"><meta name=twitter:description content></head><body class="ma0 avenir bg-near-white"><header><div class=bg-black><nav class="pv3 ph3 ph4-ns" role=navigation><div class="flex-l justify-between items-center center"><a href=/tst_hugo_action/ class="f3 fw2 hover-white no-underline white-90 dib">My New Hugo Site</a><div class="flex-l items-center"><div class=ananke-socials></div></div></div></nav></div></header><main class=pb7 role=main><article class="center cf pv5 measure-wide-l"><h1>This is not the page you were looking for</h1></article></main><footer class="bg-black bottom-0 w-100 pa3" role=contentinfo><div class="flex justify-between"><a class="f4 fw4 hover-white no-underline white-70 dn dib-ns pv2 ph3" href=https://histausse.page.mineau.eu/tst_hugo_action/>&copy; My New Hugo Site 2024</a><div><div class=ananke-socials></div></div></div></footer></body></html>

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

5
archetypes/default.md Normal file
View file

@ -0,0 +1,5 @@
+++
title = '{{ replace .File.ContentBaseName "-" " " | title }}'
date = {{ .Date }}
draft = true
+++

View file

@ -1,2 +0,0 @@
<!doctype html><html lang=en-us><head><meta charset=utf-8><meta http-equiv=X-UA-Compatible content="IE=edge,chrome=1"><title>My New Hugo Site</title>
<meta name=viewport content="width=device-width,minimum-scale=1"><meta name=description content><meta name=generator content="Hugo 0.124.1"><meta name=robots content="noindex, nofollow"><link rel=stylesheet href=/tst_hugo_action/ananke/css/main.min.css><link href=/tst_hugo_action/categories/index.xml rel=alternate type=application/rss+xml title="My New Hugo Site"><link href=/tst_hugo_action/categories/index.xml rel=feed type=application/rss+xml title="My New Hugo Site"><link rel=canonical href=https://histausse.page.mineau.eu/tst_hugo_action/categories/><meta property="og:title" content="Categories"><meta property="og:description" content><meta property="og:type" content="website"><meta property="og:url" content="https://histausse.page.mineau.eu/tst_hugo_action/categories/"><meta itemprop=name content="Categories"><meta itemprop=description content><meta name=twitter:card content="summary"><meta name=twitter:title content="Categories"><meta name=twitter:description content></head><body class="ma0 avenir bg-near-white"><header><div class="pb3-m pb6-l bg-black"><nav class="pv3 ph3 ph4-ns" role=navigation><div class="flex-l justify-between items-center center"><a href=/tst_hugo_action/ class="f3 fw2 hover-white no-underline white-90 dib">My New Hugo Site</a><div class="flex-l items-center"><div class=ananke-socials></div></div></div></nav><div class="tc-l pv3 ph3 ph4-ns"><h1 class="f2 f-subheadline-l fw2 light-silver mb0 lh-title">Categories</h1></div></div></header><main class=pb7 role=main><article class="cf pa3 pa4-m pa4-l"><div class="measure-wide-l center f4 lh-copy nested-copy-line-height nested-links mid-gray"></div></article><div class="mw8 center"><section class=ph4></section></div></main><footer class="bg-black bottom-0 w-100 pa3" role=contentinfo><div class="flex justify-between"><a class="f4 fw4 hover-white no-underline white-70 dn dib-ns pv2 ph3" href=https://histausse.page.mineau.eu/tst_hugo_action/>&copy; My New Hugo Site 2024</a><div><div class=ananke-socials></div></div></div></footer></body></html>

View file

@ -1 +0,0 @@
<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Categories on My New Hugo Site</title><link>https://histausse.page.mineau.eu/tst_hugo_action/categories/</link><description>Recent content in Categories on My New Hugo Site</description><generator>Hugo -- gohugo.io</generator><language>en-us</language><atom:link href="https://histausse.page.mineau.eu/tst_hugo_action/categories/index.xml" rel="self" type="application/rss+xml"/></channel></rss>

5
content/_index.md Normal file
View file

@ -0,0 +1,5 @@
# Hello, World
![A cute drawing of a blue platypus holding a laptop](./platy.png "Platypus!")
[Link to a post](./posts/test)

View file

Before

Width:  |  Height:  |  Size: 58 KiB

After

Width:  |  Height:  |  Size: 58 KiB

11
content/posts/test.md Normal file
View file

@ -0,0 +1,11 @@
+++
title = 'Test'
date = 2024-03-27T13:45:31Z
draft = false
+++
## Test
Lorem **ipsum** dolor, *sit* amet.
Visit the [git page](https://git.mineau.eu/histausse/tst_hugo_action).

4
hugo.toml Normal file
View file

@ -0,0 +1,4 @@
baseURL = 'https://histausse.page.mineau.eu/tst_hugo_action/'
languageCode = 'en-us'
title = 'My New Hugo Site'
theme = 'ananke'

Binary file not shown.

Before

Width:  |  Height:  |  Size: 276 KiB

View file

@ -1,3 +0,0 @@
<!doctype html><html lang=en-us><head><meta charset=utf-8><meta http-equiv=X-UA-Compatible content="IE=edge,chrome=1"><title>My New Hugo Site</title>
<meta name=viewport content="width=device-width,minimum-scale=1"><meta name=description content><meta name=generator content="Hugo 0.124.1"><meta name=robots content="noindex, nofollow"><link rel=stylesheet href=/tst_hugo_action/ananke/css/main.min.css><link href=/tst_hugo_action/index.xml rel=alternate type=application/rss+xml title="My New Hugo Site"><link href=/tst_hugo_action/index.xml rel=feed type=application/rss+xml title="My New Hugo Site"><link rel=canonical href=https://histausse.page.mineau.eu/tst_hugo_action/><meta property="og:title" content><meta property="og:description" content><meta property="og:type" content="website"><meta property="og:url" content="https://histausse.page.mineau.eu/tst_hugo_action/"><meta itemprop=name content><meta itemprop=description content><meta name=twitter:card content="summary"><meta name=twitter:title content><meta name=twitter:description content></head><body class="ma0 avenir bg-near-white"><header><div class="pb3-m pb6-l bg-black"><nav class="pv3 ph3 ph4-ns" role=navigation><div class="flex-l justify-between items-center center"><a href=/tst_hugo_action/ class="f3 fw2 hover-white no-underline white-90 dib">My New Hugo Site</a><div class="flex-l items-center"><div class=ananke-socials></div></div></div></nav><div class="tc-l pv3 ph3 ph4-ns"><h1 class="f2 f-subheadline-l fw2 light-silver mb0 lh-title">My New Hugo Site</h1></div></div></header><main class=pb7 role=main><article class="cf ph3 ph5-l pv3 pv4-l f4 tc-l center measure-wide lh-copy mid-gray"><h1 id=hello-world>Hello, World</h1><p><img src=./platy.png alt="A cute drawing of a blue platypus holding a laptop" title=Platypus!></p><p><a href=./posts/test>Link to a post</a></p></article><div class="pa3 pa4-ns w-100 w-70-ns center"><h1 class=flex-none>Recent Posts</h1><section class="w-100 mw8"><div class="relative w-100 mb4"><article class="bb b--black-10"><div class="db pv4 ph3 ph0-l no-underline dark-gray"><div class="flex flex-column flex-row-ns"><div class="blah w-100"><h1 class="f3 fw1 athelas mt0 lh-title"><a href=/tst_hugo_action/posts/test/ class="color-inherit dim link">Test</a></h1><div class="f6 f5-l lh-copy nested-copy-line-height nested-links">Test Lorem ipsum dolor, sit amet.
Visit the git page.</div><a href=/tst_hugo_action/posts/test/ class="ba b--moon-gray bg-light-gray br2 color-inherit dib f7 hover-bg-moon-gray link mt2 ph2 pv1">read more</a></div></div></div></article></div></section></div></main><footer class="bg-black bottom-0 w-100 pa3" role=contentinfo><div class="flex justify-between"><a class="f4 fw4 hover-white no-underline white-70 dn dib-ns pv2 ph3" href=https://histausse.page.mineau.eu/tst_hugo_action/>&copy; My New Hugo Site 2024</a><div><div class=ananke-socials></div></div></div></footer></body></html>

View file

@ -1,2 +0,0 @@
<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>My New Hugo Site</title><link>https://histausse.page.mineau.eu/tst_hugo_action/</link><description>Recent content on My New Hugo Site</description><generator>Hugo -- gohugo.io</generator><language>en-us</language><lastBuildDate>Wed, 27 Mar 2024 13:45:31 +0000</lastBuildDate><atom:link href="https://histausse.page.mineau.eu/tst_hugo_action/index.xml" rel="self" type="application/rss+xml"/><item><title>Test</title><link>https://histausse.page.mineau.eu/tst_hugo_action/posts/test/</link><pubDate>Wed, 27 Mar 2024 13:45:31 +0000</pubDate><guid>https://histausse.page.mineau.eu/tst_hugo_action/posts/test/</guid><description>Test Lorem ipsum dolor, sit amet.
Visit the git page.</description></item></channel></rss>

View file

@ -1,3 +0,0 @@
<!doctype html><html lang=en-us><head><meta charset=utf-8><meta http-equiv=X-UA-Compatible content="IE=edge,chrome=1"><title>My New Hugo Site</title>
<meta name=viewport content="width=device-width,minimum-scale=1"><meta name=description content><meta name=generator content="Hugo 0.124.1"><meta name=robots content="noindex, nofollow"><link rel=stylesheet href=/tst_hugo_action/ananke/css/main.min.css><link href=/tst_hugo_action/posts/index.xml rel=alternate type=application/rss+xml title="My New Hugo Site"><link href=/tst_hugo_action/posts/index.xml rel=feed type=application/rss+xml title="My New Hugo Site"><link rel=canonical href=https://histausse.page.mineau.eu/tst_hugo_action/posts/><meta property="og:title" content="Posts"><meta property="og:description" content><meta property="og:type" content="website"><meta property="og:url" content="https://histausse.page.mineau.eu/tst_hugo_action/posts/"><meta itemprop=name content="Posts"><meta itemprop=description content><meta name=twitter:card content="summary"><meta name=twitter:title content="Posts"><meta name=twitter:description content></head><body class="ma0 avenir bg-near-white"><header><div class="pb3-m pb6-l bg-black"><nav class="pv3 ph3 ph4-ns" role=navigation><div class="flex-l justify-between items-center center"><a href=/tst_hugo_action/ class="f3 fw2 hover-white no-underline white-90 dib">My New Hugo Site</a><div class="flex-l items-center"><div class=ananke-socials></div></div></div></nav><div class="tc-l pv3 ph3 ph4-ns"><h1 class="f2 f-subheadline-l fw2 light-silver mb0 lh-title">Posts</h1></div></div></header><main class=pb7 role=main><article class="pa3 pa4-ns nested-copy-line-height"><section class="cf ph3 ph5-l pv3 pv4-l f4 tc-l center measure-wide lh-copy mid-gray"></section><section class="flex-ns flex-wrap justify-around mt5"><div class="relative w-100 w-30-l mb4 bg-white"><div class="relative w-100 mb4 bg-white nested-copy-line-height"><div class="bg-white mb3 pa4 gray overflow-hidden"><span class="f6 db">Posts</span><h1 class="f3 near-black"><a href=/tst_hugo_action/posts/test/ class="link black dim">Test</a></h1><div class="nested-links f5 lh-copy nested-copy-line-height">Test Lorem ipsum dolor, sit amet.
Visit the git page.</div><a href=/tst_hugo_action/posts/test/ class="ba b--moon-gray bg-light-gray br2 color-inherit dib f7 hover-bg-moon-gray link mt2 ph2 pv1">read more</a></div></div></div></section></article></main><footer class="bg-black bottom-0 w-100 pa3" role=contentinfo><div class="flex justify-between"><a class="f4 fw4 hover-white no-underline white-70 dn dib-ns pv2 ph3" href=https://histausse.page.mineau.eu/tst_hugo_action/>&copy; My New Hugo Site 2024</a><div><div class=ananke-socials></div></div></div></footer></body></html>

View file

@ -1,2 +0,0 @@
<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Posts on My New Hugo Site</title><link>https://histausse.page.mineau.eu/tst_hugo_action/posts/</link><description>Recent content in Posts on My New Hugo Site</description><generator>Hugo -- gohugo.io</generator><language>en-us</language><lastBuildDate>Wed, 27 Mar 2024 13:45:31 +0000</lastBuildDate><atom:link href="https://histausse.page.mineau.eu/tst_hugo_action/posts/index.xml" rel="self" type="application/rss+xml"/><item><title>Test</title><link>https://histausse.page.mineau.eu/tst_hugo_action/posts/test/</link><pubDate>Wed, 27 Mar 2024 13:45:31 +0000</pubDate><guid>https://histausse.page.mineau.eu/tst_hugo_action/posts/test/</guid><description>Test Lorem ipsum dolor, sit amet.
Visit the git page.</description></item></channel></rss>

View file

@ -1,2 +0,0 @@
<!doctype html><html lang=en-us><head><title>https://histausse.page.mineau.eu/tst_hugo_action/posts/</title>
<link rel=canonical href=https://histausse.page.mineau.eu/tst_hugo_action/posts/><meta name=robots content="noindex"><meta charset=utf-8><meta http-equiv=refresh content="0; url=https://histausse.page.mineau.eu/tst_hugo_action/posts/"></head></html>

View file

@ -1,6 +0,0 @@
<!doctype html><html lang=en-us><head><meta charset=utf-8><meta http-equiv=X-UA-Compatible content="IE=edge,chrome=1"><title>Test | My New Hugo Site</title>
<meta name=viewport content="width=device-width,minimum-scale=1"><meta name=description content="Test Lorem ipsum dolor, sit amet.
Visit the git page."><meta name=generator content="Hugo 0.124.1"><meta name=robots content="noindex, nofollow"><link rel=stylesheet href=/tst_hugo_action/ananke/css/main.min.css><link rel=canonical href=https://histausse.page.mineau.eu/tst_hugo_action/posts/test/><meta property="og:title" content="Test"><meta property="og:description" content="Test Lorem ipsum dolor, sit amet.
Visit the git page."><meta property="og:type" content="article"><meta property="og:url" content="https://histausse.page.mineau.eu/tst_hugo_action/posts/test/"><meta property="article:section" content="posts"><meta property="article:published_time" content="2024-03-27T13:45:31+00:00"><meta property="article:modified_time" content="2024-03-27T13:45:31+00:00"><meta itemprop=name content="Test"><meta itemprop=description content="Test Lorem ipsum dolor, sit amet.
Visit the git page."><meta itemprop=datePublished content="2024-03-27T13:45:31+00:00"><meta itemprop=dateModified content="2024-03-27T13:45:31+00:00"><meta itemprop=wordCount content="10"><meta itemprop=keywords content><meta name=twitter:card content="summary"><meta name=twitter:title content="Test"><meta name=twitter:description content="Test Lorem ipsum dolor, sit amet.
Visit the git page."></head><body class="ma0 avenir bg-near-white"><header><div class=bg-black><nav class="pv3 ph3 ph4-ns" role=navigation><div class="flex-l justify-between items-center center"><a href=/tst_hugo_action/ class="f3 fw2 hover-white no-underline white-90 dib">My New Hugo Site</a><div class="flex-l items-center"><div class=ananke-socials></div></div></div></nav></div></header><main class=pb7 role=main><article class="flex-l flex-wrap justify-between mw8 center ph3"><header class="mt4 w-100"><aside class="instapaper_ignoref b helvetica tracked ttu">Posts</aside><div id=sharing class="mt3 ananke-socials"></div><h1 class="f1 athelas mt3 mb1">Test</h1><time class="f6 mv4 dib tracked" datetime=2024-03-27T13:45:31Z>March 27, 2024</time></header><div class="nested-copy-line-height lh-copy serif f4 nested-links mid-gray pr4-l w-two-thirds-l"><h2 id=test>Test</h2><p>Lorem <strong>ipsum</strong> dolor, <em>sit</em> amet.</p><p>Visit the <a href=https://git.mineau.eu/histausse/tst_hugo_action>git page</a>.</p><ul class=pa0></ul><div class="mt6 instapaper_ignoref"></div></div><aside class="w-30-l mt6-l"></aside></article></main><footer class="bg-black bottom-0 w-100 pa3" role=contentinfo><div class="flex justify-between"><a class="f4 fw4 hover-white no-underline white-70 dn dib-ns pv2 ph3" href=https://histausse.page.mineau.eu/tst_hugo_action/>&copy; My New Hugo Site 2024</a><div><div class=ananke-socials></div></div></div></footer></body></html>

View file

@ -1 +0,0 @@
<?xml version="1.0" encoding="utf-8" standalone="yes"?><urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns:xhtml="http://www.w3.org/1999/xhtml"><url><loc>https://histausse.page.mineau.eu/tst_hugo_action/</loc><lastmod>2024-03-27T13:45:31+00:00</lastmod></url><url><loc>https://histausse.page.mineau.eu/tst_hugo_action/posts/</loc><lastmod>2024-03-27T13:45:31+00:00</lastmod></url><url><loc>https://histausse.page.mineau.eu/tst_hugo_action/posts/test/</loc><lastmod>2024-03-27T13:45:31+00:00</lastmod></url><url><loc>https://histausse.page.mineau.eu/tst_hugo_action/categories/</loc></url><url><loc>https://histausse.page.mineau.eu/tst_hugo_action/tags/</loc></url></urlset>

View file

@ -1,2 +0,0 @@
<!doctype html><html lang=en-us><head><meta charset=utf-8><meta http-equiv=X-UA-Compatible content="IE=edge,chrome=1"><title>My New Hugo Site</title>
<meta name=viewport content="width=device-width,minimum-scale=1"><meta name=description content><meta name=generator content="Hugo 0.124.1"><meta name=robots content="noindex, nofollow"><link rel=stylesheet href=/tst_hugo_action/ananke/css/main.min.css><link href=/tst_hugo_action/tags/index.xml rel=alternate type=application/rss+xml title="My New Hugo Site"><link href=/tst_hugo_action/tags/index.xml rel=feed type=application/rss+xml title="My New Hugo Site"><link rel=canonical href=https://histausse.page.mineau.eu/tst_hugo_action/tags/><meta property="og:title" content="Tags"><meta property="og:description" content><meta property="og:type" content="website"><meta property="og:url" content="https://histausse.page.mineau.eu/tst_hugo_action/tags/"><meta itemprop=name content="Tags"><meta itemprop=description content><meta name=twitter:card content="summary"><meta name=twitter:title content="Tags"><meta name=twitter:description content></head><body class="ma0 avenir bg-near-white"><header><div class="pb3-m pb6-l bg-black"><nav class="pv3 ph3 ph4-ns" role=navigation><div class="flex-l justify-between items-center center"><a href=/tst_hugo_action/ class="f3 fw2 hover-white no-underline white-90 dib">My New Hugo Site</a><div class="flex-l items-center"><div class=ananke-socials></div></div></div></nav><div class="tc-l pv3 ph3 ph4-ns"><h1 class="f2 f-subheadline-l fw2 light-silver mb0 lh-title">Tags</h1></div></div></header><main class=pb7 role=main><article class="cf pa3 pa4-m pa4-l"><div class="measure-wide-l center f4 lh-copy nested-copy-line-height nested-links mid-gray"></div></article><div class="mw8 center"><section class=ph4></section></div></main><footer class="bg-black bottom-0 w-100 pa3" role=contentinfo><div class="flex justify-between"><a class="f4 fw4 hover-white no-underline white-70 dn dib-ns pv2 ph3" href=https://histausse.page.mineau.eu/tst_hugo_action/>&copy; My New Hugo Site 2024</a><div><div class=ananke-socials></div></div></div></footer></body></html>

View file

@ -1 +0,0 @@
<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Tags on My New Hugo Site</title><link>https://histausse.page.mineau.eu/tst_hugo_action/tags/</link><description>Recent content in Tags on My New Hugo Site</description><generator>Hugo -- gohugo.io</generator><language>en-us</language><atom:link href="https://histausse.page.mineau.eu/tst_hugo_action/tags/index.xml" rel="self" type="application/rss+xml"/></channel></rss>

1
themes/ananke Submodule

@ -0,0 +1 @@
Subproject commit 91df000ca82769a7578df81fa142d1a18e446bc0