aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts
diff options
context:
space:
mode:
authoralexandreFre <51956137+alexandreFre@users.noreply.github.com>2019-07-08 17:19:03 +0200
committerGitHub <noreply@github.com>2019-07-08 17:19:03 +0200
commit1b47892a9bef231b3e54c40345ae23a4b3b701e0 (patch)
tree174caa614a87fcad0b6f87200ee1fd0a90286b2a /scripts
parent5b5f8460537ecb489a9f544727513fc9b2d7d532 (diff)
parent1547d54fbe648764c6a94a0084ca7126c8811668 (diff)
downloadterraform-provider-mailgun-1b47892a9bef231b3e54c40345ae23a4b3b701e0.tar.gz
terraform-provider-mailgun-1b47892a9bef231b3e54c40345ae23a4b3b701e0.tar.zst
terraform-provider-mailgun-1b47892a9bef231b3e54c40345ae23a4b3b701e0.zip
Merge pull request #13 from fretlink/add_github_pages
Add GitHub pages
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/launch-website.sh13
1 files changed, 13 insertions, 0 deletions
diff --git a/scripts/launch-website.sh b/scripts/launch-website.sh
new file mode 100755
index 0000000..dda894d
--- /dev/null
+++ b/scripts/launch-website.sh
@@ -0,0 +1,13 @@
1#!/usr/bin/env bash
2
3# sleep and the sub-command are there to make sure wget is called *after* `make website` has started. This ensures the website to be fetched correctly.
4(sleep 10;
5wget --recursive --no-parent --domains localhost --page-requisites --html-extension --convert-links --no-clobber http://localhost:4567/docs/providers/mailgun/;
6
7rm -rf terraform-provider-website;
8mv localhost:4567/ terraform-provider-website;
9mv index.html terraform-provider-website/index.html
10
11docker stop "$(docker ps -q)") &
12
13make website