mirror of
https://github.com/storytold/artcraft.git
synced 2026-11-05 09:48:44 +00:00
13 lines
266 B
Bash
Executable File
13 lines
266 B
Bash
Executable File
#!/bin/bash
|
|
|
|
if [ -d "deploy" ]; then
|
|
pushd deploy
|
|
echo "Running Python HTTP Server on deploy"
|
|
python3 -m http.server 9000
|
|
echo "Closing Python HTTP Server"
|
|
popd
|
|
else
|
|
echo "deploy directory does not exist."
|
|
echo "please build the deployment first."
|
|
fi
|