From 1d1b5e5638b999f33149a7dc45b32cb3c140912b Mon Sep 17 00:00:00 2001 From: jgrogan Date: Mon, 26 Aug 2024 17:27:10 +0100 Subject: [PATCH] Add basic deployment --- .gitignore | 5 +---- infra/deploy.sh | 5 +++++ src/{ => articles}/interesting_blogs.md | 0 src/{ => articles}/interesting_sites.md | 0 src/index.md | 4 ++++ 5 files changed, 10 insertions(+), 4 deletions(-) create mode 100755 infra/deploy.sh rename src/{ => articles}/interesting_blogs.md (100%) rename src/{ => articles}/interesting_sites.md (100%) diff --git a/.gitignore b/.gitignore index a0646c2..567609b 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1 @@ -node_modules -build -.vscode -.angular \ No newline at end of file +build/ diff --git a/infra/deploy.sh b/infra/deploy.sh new file mode 100755 index 0000000..a291673 --- /dev/null +++ b/infra/deploy.sh @@ -0,0 +1,5 @@ +cd build +tar -czvf ../personal_site.tar.gz * +cd .. +ssh hetzner "tar -C /var/www/jmsgrogan/html/ -xz -f-" < personal_site.tar.gz +rm personal_site.tar.gz diff --git a/src/interesting_blogs.md b/src/articles/interesting_blogs.md similarity index 100% rename from src/interesting_blogs.md rename to src/articles/interesting_blogs.md diff --git a/src/interesting_sites.md b/src/articles/interesting_sites.md similarity index 100% rename from src/interesting_sites.md rename to src/articles/interesting_sites.md diff --git a/src/index.md b/src/index.md index d102b07..9c89a5f 100644 --- a/src/index.md +++ b/src/index.md @@ -7,3 +7,7 @@ I enjoy writing software and live in the West of Ireland. My main interests are: * creative coding - particularly with audio and graphics. This site includes a personal blog and some info on previous and on-going projects. + +Personal software projects are hosted here: https://git.jmsgrogan.com/ + +I am on Mastodon