diff options
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 | ||