fixed makefile

This commit is contained in:
2025-01-10 20:51:42 -05:00
parent c1007acca7
commit 7a4c361f27
2 changed files with 7 additions and 3 deletions

View File

@@ -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

View File

@@ -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():