9 lines
163 B
Bash
Executable file
9 lines
163 B
Bash
Executable file
#!/bin/bash
|
|
|
|
GIT_AUTH_MODE=$1
|
|
|
|
export GIT_AUTH_MODE
|
|
|
|
source /opt/webhook/.venv/bin/activate
|
|
cd /opt/webhook
|
|
gunicorn --bind 0.0.0.0:8000 gitea-webhook-handler:app
|