Update maddybook, use gitea for deploys
All checks were successful
Deploy / deploy (push) Successful in 8s

This commit is contained in:
Madison Rye Progress
2026-03-15 16:56:33 -07:00
parent 682d3b39ff
commit d4683c4c21
9 changed files with 74 additions and 60 deletions

View File

@ -0,0 +1,42 @@
name: Deploy
run-name: ${{ gitea.actor }} is deploying ${{ gitea.repository }}
on:
push:
branches:
- main
jobs:
deploy:
runs-on: ubuntu-latest
container:
image: docker.gitea.com/runner-images:ubuntu-latest
volumes:
- /opt/hugo/wildness.makyo.ink:/opt/hugo/wildness.makyo.ink
env:
DART_SASS_VERSION: 1.98.0
steps:
- name: Check out repo
uses: actions/checkout@v6
with:
submodules: 'true'
- name: Install Hugo
uses: peaceiris/actions-hugo@v3
with:
hugo-version: '0.157.0'
extended: true
- name: Install Dart Sass
run: |
curl -LJO https://github.com/sass/dart-sass/releases/download/${DART_SASS_VERSION}/dart-sass-${DART_SASS_VERSION}-linux-x64.tar.gz \
&& tar -xf dart-sass-${DART_SASS_VERSION}-linux-x64.tar.gz \
&& cp -r dart-sass/* /usr/local/bin \
&& rm -rf dart-sass* \
&& sass --embedded --version
- name: Build site
run: |
hugo build --gc --minify --baseURL https://wildness.makyo.ink --destination /opt/hugo/wildness.makyo.ink
- name: Set permissions
run: chown -R www-data:www-data /opt/hugo/wildness.makyo.ink

2
.gitignore vendored
View File

@ -1 +1,3 @@
.hugo_build.lock
public
resources/_gen

View File

@ -5,7 +5,7 @@ theme = 'maddybook'
paginatePath = ""
[permalinks]
post = '/:filename/'
post = '/:contentbasename/'
[params]
author = 'Madison Scott-Clary'

View File

@ -30,24 +30,7 @@ Much of the book is available to read for free online if you are unable to affor
## Contents
* [Jump](/jump)
Some folks were just built to jump. What do you do when that gets to be too much?
* [Limerent Object](/limerent-object)
Dee Kimana, an ex-seminarian coyote, is in love. Maybe. Perhaps? His constant doubts plague him, and as he strives to journal his way towards greater understanding of himself and his emotions, he delves deeper and deeper into the past.
* [Gigs](/gigs)
The gig economy, while useful for providing some income to those in need, comes with its own downfalls and dangers, as Winter soon finds.
* Sorting Laundry
It's weird what you remember from childhood, isn't it? Almost as weird as what brings those memories to the surface.
* Morning Of
Surgery and airports --- two places where you give yourself into your trust in professionals. But where, exactly, does that point lie?
* [Of Foxes and Milkshakes](/of-foxes-and-milkshakes)
Two foxes, one vanilla-flavored kiss.
{{< works corpus="works" >}}
## Praise

23
data/works.yml Normal file
View File

@ -0,0 +1,23 @@
- title: Jump
url: /jump
description: Some folks were just built to jump. What do you do when that gets to be too much?
- title: Limerent Object
url: /limerent-object
description: Dee Kimana, an ex-seminarian coyote, is in love. Maybe. Perhaps? His constant doubts plague him, and as he strives to journal his way towards greater understanding of himself and his emotions, he delves deeper and deeper into the past.
- title: Gigs
url: /gigs
description: The gig economy, while useful for providing some income to those in need, comes with its own downfalls and dangers, as Winter soon finds.
- title: Sorting Laundry
url: /sorting-laundry
description: Its weird what you remember from childhood, isnt it? Almost as weird as what brings those memories to the surface.
- title: Morning Of
url: /morning-of
description: Surgery and airports — two places where you give yourself into your trust in professionals. But where, exactly, does that point lie?
- title: Of Foxes and Milkshakes
url: /of-foxes-and-milkshakes
description: Two foxes, one vanilla-flavored kiss.

View File

@ -1,37 +0,0 @@
<head>
<title>{{ if .Title }}{{ .Title }} | {{ end }}A Wildness of the Heart by Madison Scott-Clary</title>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Gentium+Plus:ital,wght@0,400;0,700;1,400;1,700&display=swap" rel="stylesheet">
<link rel="stylesheet" type="text/css" href="/css/main.css" />
{{ range .Site.Params.customCSS }}
<link rel="stylesheet" type="text/css" href="{{ . | relURL }}" />
{{ end }}
<meta name="viewport" content="width=device-width" />
<!-- OpenGraph metadata -->
<meta property="og:title" content="{{ if .Params.title }}{{.Params.title | plainify }} | {{end}}A Wildness of the Heart" />
<meta property="og:site_name" content="A Wildness of the Heart | Madison Scott-Clary" />
<meta property="og:type" content="website" />
<meta property="og:image" content="{{ "/square.jpg" | absURL }}" />
<meta property="og:url" content="{{ .Permalink }}" />
<meta property="og:description" content="A Wildness of the Heart: Limerent Object and Other Stories by Madison Scott-Clary" />
<!-- Twitter Card metadata -->
<meta name="twitter:card" content="summary" />
<meta name="twitter:site" content="@makyo_writes" />
<meta name="twitter:title" content="{{ if .Params.title }}{{.Params.title | plainify }} | {{end}}A Wildness of the Heart" />
<meta name="twitter:description" content="A Wildness of the Heart: Limerent Object and Other Stories by Madison Scott-Clary" />
<meta name="twitter:image" content="{{ "/square.jpg" | absURL }}" />
<!-- JSON-LD metadata -->
<script type="application/ld+json">
{
"@context": "http://schema.org",
"@type": "WebSite",
"name": "The Writing of Madison Scott-Clary",
"headline": "{{ if .Params.title }}{{.Params.title | plainify }} | {{end}}A Wildness of the Heart",
"description": "A Wildness of the Heart: Limerent Object and Other Stories by Madison Scott-Clary",
"url": "{{ .Permalink }}"
}
</script>
</head>

View File

@ -1,3 +0,0 @@
<header>
<h1><a href="/">{{ .Site.Title }}<small>Limerent Object and other stories</small></a></h1>
</header>

View File

@ -8,3 +8,7 @@
header, footer, .title ul li p:first-of-type, ul.pagination, h1, h2 {
font-family: "Tom's New Roman", serif;
}
.works .author {
display: none;
}