From: Stan_Lewry <stanley.jml@gmail.com> Date: Sun, 25 Aug 2024 11:21:14 +0000 (+0100) Subject: remove existing html files on server before pushing X-Git-Url: https://stanlewry.com/index.cgi?a=commitdiff_plain;h=f0987874bf12c294b41e702bd7dfb4e2e777adc2;p=website.git remove existing html files on server before pushing --- diff --git a/generateAndPush.sh b/generateAndPush.sh index ec57376..3eb8360 100755 --- a/generateAndPush.sh +++ b/generateAndPush.sh @@ -1,5 +1,7 @@ #!/bin/bash +ssh stanlewry.com "rm /var/www/stanlewry/*.html" + for i in $(ls *.ms) do f=${i%.ms} diff --git a/index.html b/index.html deleted file mode 100644 index cb6a4f0..0000000 --- a/index.html +++ /dev/null @@ -1,30 +0,0 @@ -<!-- Creator : groff version 1.23.0 --> -<!-- CreationDate: Sun Aug 25 12:12:10 2024 --> -<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" -"http://www.w3.org/TR/html4/loose.dtd"> -<html> -<head> -<meta name="generator" content="groff -Thtml, see www.gnu.org"> -<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> -<meta name="Content-Style" content="text/css"> -<style type="text/css"> - p { margin-top: 0; margin-bottom: 0; vertical-align: top } - pre { margin-top: 0; margin-bottom: 0; vertical-align: top } - table { margin-top: 0; margin-bottom: 0; vertical-align: top } - h1 { text-align: center } -</style> -<title>Hello World.</title> - -</head> -<body> - -<h1 align="center">Hello World.</h1> - - - -<p style="margin-top: 1em">shitty fucking stupid -website!!!!!!!</p> - -<p style="margin-top: 1em"><a href="index.cgi">git</a></p> -</body> -</html> diff --git a/index.ms b/index.ms deleted file mode 100644 index 274d889..0000000 --- a/index.ms +++ /dev/null @@ -1,6 +0,0 @@ -.TL -Hello World. -.PP -shitty fucking stupid website!!!!!!! -.PP -.URL index.cgi "git"