fixed makefile
This commit is contained in:
6
Makefile
6
Makefile
@@ -1,8 +1,8 @@
|
|||||||
|
|
||||||
build:
|
build:
|
||||||
if [ ! -d venv ]; then
|
if [ ! -d venv ]; then \
|
||||||
python3 -m venv venv
|
python3 -m venv venv; \
|
||||||
fi
|
fi \
|
||||||
venv/bin/pip install requirements.txt
|
venv/bin/pip install requirements.txt
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -4,6 +4,10 @@ from .deploy import handle_request, DeployerRequest
|
|||||||
|
|
||||||
app = Flask(__name__)
|
app = Flask(__name__)
|
||||||
|
|
||||||
|
@app.route("/ping", methods=["GET"])
|
||||||
|
def ping():
|
||||||
|
return "pong"
|
||||||
|
|
||||||
|
|
||||||
@app.route("/gitea", methods=["POST"])
|
@app.route("/gitea", methods=["POST"])
|
||||||
def gitea():
|
def gitea():
|
||||||
|
|||||||
Reference in New Issue
Block a user