A .build.yml => .build.yml +10 -0
@@ 0,0 1,10 @@
+image: alpine/latest
+oauth: pages.sr.ht/PAGES:RW
+environment:
+ site: jamesp.srht.site
+tasks:
+- package: |
+ cd $site
+ tar -cvz . > ../site.tar.gz
+- upload: |
+ acurl -f https://pages.sr.ht/publish/$site -Fcontent=@site.tar.gz
M index.html => index.html +5 -0
@@ 2,6 2,11 @@
<html>
<head>
<title>James Pearson's srht.site</title>
+ <meta name="description" content="A test repo by James Pearson for sourcehut and sourcehut pages">
+ <meta name="author" content="James Pearson">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
+ <link rel="canonical" href="https://jamesp.srht.site/" />
+ <link type="text/css" rel="stylesheet" href="main.css" />
</head>
<body>
<p><h1>James Pearson's srht.site</h1></p>
A main.css => main.css +7 -0
@@ 0,0 1,7 @@
+body {
+ font-family: sans-serif;
+ margin-left: auto;
+ margin-right: auto;
+ max-width: 1024px;
+ min-width: 320px;
+}