diff options
author | Alexandre Garand <alexandre.garand@fretlink.com> | 2019-07-05 12:15:04 +0200 |
---|---|---|
committer | Alexandre Garand <alexandre.garand@fretlink.com> | 2019-07-08 12:14:59 +0200 |
commit | 87e93609a5535755fb40e05996ff997657aac6d2 (patch) | |
tree | a1ca6075f55edc3322ce324e7305788a5d4b776c /GNUmakefile | |
parent | 5b5f8460537ecb489a9f544727513fc9b2d7d532 (diff) | |
download | terraform-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-- | GNUmakefile | 2 |
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 | ||
49 | website-githubpages: | ||
50 | bash scripts/launch-website.sh | ||
49 | website: | 51 | website: |
50 | ifeq (,$(wildcard $(GOPATH)/src/$(WEBSITE_REPO))) | 52 | ifeq (,$(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..." |