~bfluhr/website

afd05ebf43ea79dcb5339c2094e5e2bd874a75ec — Benedikt Fluhr 4 months ago 06adcfd
Script to Publish + Layout Fix
4 files changed, 7 insertions(+), 0 deletions(-)

M .gitignore
A publish
M src/notes/docbook-output.css
M util/build.ts
M .gitignore => .gitignore +1 -0
@@ 1,3 1,4 @@
credentials.json
_build/*
*~
.pubignore

A publish => publish +2 -0
@@ 0,0 1,2 @@
#!/bin/bash
rsync -p --exclude-from=.pubignore -q -r --checksum --delete -e ssh _build/ bfluhr_website@bfluhr.com:/home/bfluhr_website/html/

M src/notes/docbook-output.css => src/notes/docbook-output.css +2 -0
@@ 23,6 23,8 @@ div.navfooter {

div:is(.navheader, .navfooter) {
    width: 100%;
    padding-inline: 0;
    margin-inline: 0;
}

div:is(.navheader, .navfooter) > table {

M util/build.ts => util/build.ts +2 -0
@@ 22,6 22,8 @@ const credentials = await getCredentials();
const pubignore = await fetchFromWebspace('/pubignore.json', credentials)
      .then(response => response.json());

Deno.writeTextFile('.pubignore', pubignore.join('\n'));

const root_doc = await getDoc('/index.html', credentials);

ensure_root_dir_promise.then(