Hugo site with Woodpecker CI -> Surfer deploy pipeline
Builds the site with hugomods/hugo:dart-sass-node-git and syncs public/ to the Surfer app on the same Cloudron server (surfer put --all --delete). README covers full setup: Gitea OAuth app, Woodpecker env.sh forge config, agent options, and repo secrets.
This commit is contained in:
commit
346c859eb5
8 files changed
+480
No files matched your search
@@ -0,0 +1,38 @@
|
||||
<!doctype html>
|
||||
<html lang="{{ site.Language.Locale }}">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<title>{{ .Title }} | {{ site.Title }}</title>
|
||||
<style>
|
||||
:root { color-scheme: light dark; }
|
||||
body {
|
||||
font-family: system-ui, -apple-system, sans-serif;
|
||||
max-width: 42rem; margin: 0 auto; padding: 0 1rem 3rem;
|
||||
line-height: 1.6; font-size: 1.05rem;
|
||||
}
|
||||
header, footer { padding: 1.25rem 0; }
|
||||
header a { font-weight: 700; text-decoration: none; }
|
||||
header nav { float: right; font-weight: 400; }
|
||||
footer { border-top: 1px solid gray; font-size: .85rem; opacity: .75; }
|
||||
img { max-width: 100%; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<header>
|
||||
<a href="{{ site.Home.RelPermalink }}">{{ site.Title }}</a>
|
||||
<nav>
|
||||
{{ with site.GetPage "/about" }}<a href="{{ .RelPermalink }}">{{ .Title }}</a>{{ end }}
|
||||
</nav>
|
||||
</header>
|
||||
<main>
|
||||
{{ .Content }}
|
||||
</main>
|
||||
<footer>
|
||||
<small>
|
||||
Served by Surfer · built by Woodpecker CI · source on Gitea
|
||||
— one Cloudron server.
|
||||
</small>
|
||||
</footer>
|
||||
</body>
|
||||
</html>
|
||||
Reference in new issue
Block a user