blob: ec9e92c8634aa22bea9f2b361938f8a0ad9275e4 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
#!/usr/bin/env bash
#the sleep and the subquery & are here to ensure that wget is called after make website have done its work so that the website is gotten 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
|