blob: dda894dd6077717b2b186f309a67ff11b32631af (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
#!/usr/bin/env bash
# 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.
(sleep 10;
wget --recursive --no-parent --domains localhost --page-requisites --html-extension --convert-links --no-clobber http://localhost:4567/docs/providers/mailgun/;
rm -rf terraform-provider-website;
mv localhost:4567/ terraform-provider-website;
mv index.html terraform-provider-website/index.html
docker stop "$(docker ps -q)") &
make website
|