We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 35c20da commit 3f0133bCopy full SHA for 3f0133b
scripts/buildAndServeDocs.sh scripts/buildDocs.sh
@@ -14,12 +14,5 @@ fi
14
output_dir=$(find "$BUILD_DIR" -mindepth 1 -maxdepth 1 -type d | head -n 1)
15
cp -r "$output_dir" "$JAVADOCS_ARCHIVE_PATH"
16
17
-# Remove the version name from the hierarchy so the Dockerfile doesn't need to worry about it
18
-cp -r "$output_dir"/* "$BUILD_DIR"
19
-rm -rf "$output_dir"
20
-
21
-# Install deps
22
-sudo apt install httpd
23
24
-# Run
25
-trap "exit 0;" TERM INT; httpd -v -p $PORT -h /www -f & wait
+# Move to /www to serve
+cp -r "$output_dir"/* "/www"
scripts/serveDocs.sh
@@ -0,0 +1,7 @@
1
+#!/bin/bash
2
+
3
+# Install deps
4
+sudo apt install httpd
5
6
+# Run
7
+trap "exit 0;" TERM INT; httpd -v -p 8081 -h /www -f & wait
0 commit comments