aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts/launch-website.sh
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 /scripts/launch-website.sh
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 'scripts/launch-website.sh')
-rwxr-xr-xscripts/launch-website.sh11
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;
4wget --recursive --no-parent --domains localhost --page-requisites --html-extension --convert-links --no-clobber http://localhost:4567/docs/providers/mailgun/;
5
6rm -rf terraform-provider-website;
7mv localhost:4567/ terraform-provider-website;
8
9docker stop "$(docker ps -q)") &
10
11make website