diff options
author | Alexandre Garand <alexandre.garand@fretlink.com> | 2019-07-08 11:30:44 +0200 |
---|---|---|
committer | Alexandre Garand <alexandre.garand@fretlink.com> | 2019-07-08 12:15:34 +0200 |
commit | 1e4cb933c500f8135161e3d7fabeb0acf93bec12 (patch) | |
tree | 59cbf3e7b3d8626f2ceffcaf3dedc6cc8228589b | |
parent | 6347cbbdc731236eeaccd772fd952dbf62862220 (diff) | |
download | terraform-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-- | GNUmakefile | 2 | ||||
-rw-r--r-- | index.html | 1 | ||||
-rwxr-xr-x | scripts/launch-website.sh | 1 |
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))) | |||
62 | endif | 62 | endif |
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 | ||
6 | rm -rf terraform-provider-website; | 6 | rm -rf terraform-provider-website; |
7 | mv localhost:4567/ terraform-provider-website; | 7 | mv localhost:4567/ terraform-provider-website; |
8 | mv index.html terraform-provider-website/index.html | ||
8 | 9 | ||
9 | docker stop "$(docker ps -q)") & | 10 | docker stop "$(docker ps -q)") & |
10 | 11 | ||