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 /scripts | |
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 'scripts')
-rwxr-xr-x | scripts/launch-website.sh | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/scripts/launch-website.sh b/scripts/launch-website.sh new file mode 100755 index 0000000..f146e75 --- /dev/null +++ b/scripts/launch-website.sh | |||
@@ -0,0 +1,11 @@ | |||
1 | #!/usr/bin/env bash | ||
2 | |||
3 | (sleep 10; | ||
4 | wget --recursive --no-parent --domains localhost --page-requisites --html-extension --convert-links --no-clobber http://localhost:4567/docs/providers/mailgun/; | ||
5 | |||
6 | rm -rf terraform-provider-website; | ||
7 | mv localhost:4567/ terraform-provider-website; | ||
8 | |||
9 | docker stop "$(docker ps -q)") & | ||
10 | |||
11 | make website | ||