~jamesp/test-srhtsite

6517b5c3be2e285b454e61c0b2a1f695d57139b4 — James Pearson 2 years ago 13c36fb
Spice it up
3 files changed, 22 insertions(+), 0 deletions(-)

A .build.yml
M index.html
A main.css
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;
}