From c7a2e5f57c24ae9bbdcff699df980f7f5ca86fdb Mon Sep 17 00:00:00 2001 From: Anna Wiggins Date: Wed, 4 Dec 2019 19:05:02 -0500 Subject: [PATCH] Remove build scripts and replace with simple makefile. --- Makefile | 10 ++++++++++ build.sh | 4 ---- push.sh | 3 --- 3 files changed, 10 insertions(+), 7 deletions(-) create mode 100644 Makefile delete mode 100644 build.sh delete mode 100644 push.sh diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..ebf1be8 --- /dev/null +++ b/Makefile @@ -0,0 +1,10 @@ +DOCKER_IMAGE := cr.annabunch.es/annabunches-static + +all: site + +site: + jekyll build + docker build -t ${DOCKER_IMAGE} . + +push: + docker push ${DOCKER_IMAGE} diff --git a/build.sh b/build.sh deleted file mode 100644 index 5e61d1e..0000000 --- a/build.sh +++ /dev/null @@ -1,4 +0,0 @@ -#!/bin/sh - -jekyll build -docker build -t cr.annabunch.es/annabunches-static . diff --git a/push.sh b/push.sh deleted file mode 100644 index 0164241..0000000 --- a/push.sh +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh - -docker push cr.annabunch.es/annabunches-static