From f0987874bf12c294b41e702bd7dfb4e2e777adc2 Mon Sep 17 00:00:00 2001 From: Stan_Lewry Date: Sun, 25 Aug 2024 12:21:14 +0100 Subject: [PATCH] remove existing html files on server before pushing --- generateAndPush.sh | 2 ++ index.html | 30 ------------------------------ index.ms | 6 ------ 3 files changed, 2 insertions(+), 36 deletions(-) delete mode 100644 index.html delete mode 100644 index.ms 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 @@ - - - - - - - - - -Hello World. - - - - -

Hello World.

- - - -

shitty fucking stupid -website!!!!!!!

- -

git

- - 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" -- 2.20.1