aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorAlexandre Garand <alexandre.garand@fretlink.com>2019-07-08 11:30:44 +0200
committerAlexandre Garand <alexandre.garand@fretlink.com>2019-07-08 12:15:34 +0200
commit1e4cb933c500f8135161e3d7fabeb0acf93bec12 (patch)
tree59cbf3e7b3d8626f2ceffcaf3dedc6cc8228589b
parent6347cbbdc731236eeaccd772fd952dbf62862220 (diff)
downloadterraform-provider-mailgun-1e4cb933c500f8135161e3d7fabeb0acf93bec12.tar.gz
terraform-provider-mailgun-1e4cb933c500f8135161e3d7fabeb0acf93bec12.tar.zst
terraform-provider-mailgun-1e4cb933c500f8135161e3d7fabeb0acf93bec12.zip
add index.html to ghpages
created index.html update the script to add it in the website directory
-rw-r--r--GNUmakefile2
-rw-r--r--index.html1
-rwxr-xr-xscripts/launch-website.sh1
3 files changed, 3 insertions, 1 deletions
diff --git a/GNUmakefile b/GNUmakefile
index fe6e28c..e31a939 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -62,5 +62,5 @@ ifeq (,$(wildcard $(GOPATH)/src/$(WEBSITE_REPO)))
62endif 62endif
63 @$(MAKE) -C $(GOPATH)/src/$(WEBSITE_REPO) website-provider-test PROVIDER_PATH=$(shell pwd) PROVIDER_NAME=$(PKG_NAME) 63 @$(MAKE) -C $(GOPATH)/src/$(WEBSITE_REPO) website-provider-test PROVIDER_PATH=$(shell pwd) PROVIDER_NAME=$(PKG_NAME)
64 64
65.PHONY: build test testacc vet fmt fmtcheck errcheck test-compile website website-test 65.PHONY: build test testacc vet fmt fmtcheck errcheck test-compile website website-test website-githubpages
66 66
diff --git a/index.html b/index.html
new file mode 100644
index 0000000..550c3e9
--- /dev/null
+++ b/index.html
@@ -0,0 +1 @@
<meta http-equiv="refresh" content="0; url=docs/providers/mailgun/index.html" />
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
5 5
6rm -rf terraform-provider-website; 6rm -rf terraform-provider-website;
7mv localhost:4567/ terraform-provider-website; 7mv localhost:4567/ terraform-provider-website;
8mv index.html terraform-provider-website/index.html
8 9
9docker stop "$(docker ps -q)") & 10docker stop "$(docker ps -q)") &
10 11