aboutsummaryrefslogtreecommitdiffhomepage
path: root/GNUmakefile
diff options
context:
space:
mode:
authorAlexandre Garand <alexandre.garand@fretlink.com>2019-07-05 12:15:04 +0200
committerAlexandre Garand <alexandre.garand@fretlink.com>2019-07-08 12:14:59 +0200
commit87e93609a5535755fb40e05996ff997657aac6d2 (patch)
treea1ca6075f55edc3322ce324e7305788a5d4b776c /GNUmakefile
parent5b5f8460537ecb489a9f544727513fc9b2d7d532 (diff)
downloadterraform-provider-mailgun-87e93609a5535755fb40e05996ff997657aac6d2.tar.gz
terraform-provider-mailgun-87e93609a5535755fb40e05996ff997657aac6d2.tar.zst
terraform-provider-mailgun-87e93609a5535755fb40e05996ff997657aac6d2.zip
add automatic push of github pages
add target in the makefile and the script used by it to get the website update .travis.yml to push the website on ghpages branch
Diffstat (limited to 'GNUmakefile')
-rw-r--r--GNUmakefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/GNUmakefile b/GNUmakefile
index 7750632..fe6e28c 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -46,6 +46,8 @@ test-compile:
46 fi 46 fi
47 go test -c $(TEST) $(TESTARGS) 47 go test -c $(TEST) $(TESTARGS)
48 48
49website-githubpages:
50 bash scripts/launch-website.sh
49website: 51website:
50ifeq (,$(wildcard $(GOPATH)/src/$(WEBSITE_REPO))) 52ifeq (,$(wildcard $(GOPATH)/src/$(WEBSITE_REPO)))
51 echo "$(WEBSITE_REPO) not found in your GOPATH (necessary for layouts and assets), get-ting..." 53 echo "$(WEBSITE_REPO) not found in your GOPATH (necessary for layouts and assets), get-ting..."