From 1e4cb933c500f8135161e3d7fabeb0acf93bec12 Mon Sep 17 00:00:00 2001 From: Alexandre Garand Date: Mon, 8 Jul 2019 11:30:44 +0200 Subject: [PATCH] add index.html to ghpages created index.html update the script to add it in the website directory --- GNUmakefile | 2 +- index.html | 1 + scripts/launch-website.sh | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 index.html diff --git a/GNUmakefile b/GNUmakefile index fe6e28c..e31a939 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -62,5 +62,5 @@ ifeq (,$(wildcard $(GOPATH)/src/$(WEBSITE_REPO))) endif @$(MAKE) -C $(GOPATH)/src/$(WEBSITE_REPO) website-provider-test PROVIDER_PATH=$(shell pwd) PROVIDER_NAME=$(PKG_NAME) -.PHONY: build test testacc vet fmt fmtcheck errcheck test-compile website website-test +.PHONY: build test testacc vet fmt fmtcheck errcheck test-compile website website-test website-githubpages diff --git a/index.html b/index.html new file mode 100644 index 0000000..550c3e9 --- /dev/null +++ b/index.html @@ -0,0 +1 @@ + diff --git a/scripts/launch-website.sh b/scripts/launch-website.sh index f146e75..a636565 100755 --- a/scripts/launch-website.sh +++ b/scripts/launch-website.sh @@ -5,6 +5,7 @@ wget --recursive --no-parent --domains localhost --page-requisites --html-extens rm -rf terraform-provider-website; mv localhost:4567/ terraform-provider-website; +mv index.html terraform-provider-website/index.html docker stop "$(docker ps -q)") & -- 2.41.0