We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6216365 commit cf82975Copy full SHA for cf82975
deploy.sh
@@ -1,5 +1,13 @@
1
#!/usr/bin/env bash
2
3
+if [ -f .deploy_in_progress ];
4
+then
5
+ echo "Deploy already in progress";
6
+ exit 0;
7
+fi
8
+
9
+touch .deploy_in_progress;
10
11
# Trick daux.io into thinking there's a zip file it can link to
12
if [ ! -f modmore-documentation.zip ];
13
then
@@ -21,7 +29,10 @@ if vendor/bin/daux generate --source=. --destination=html_tmp ; then
21
29
# Remove the html folder
22
30
rm -rf html/;
23
31
mv html_tmp/ html;
32
33
+ rm .deploy_in_progress;
24
34
else
25
35
echo "Failed generating documentation";
36
26
37
exit 1;
27
38
fi
0 commit comments