From 4da9d9553498fd2f910f3bd52c8f8f9d7680e1f9 Mon Sep 17 00:00:00 2001 From: Bobby Date: Fri, 11 Nov 2022 00:20:09 -0500 Subject: Running Deployment Script on Server --- .github/workflows/main.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to '.github') diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index b61adaff..3fdbb927 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -5,4 +5,11 @@ jobs: name: Deploy App runs-on: "self-hosted" steps: - - run: echo "Deploying" + # cd thatcomputerscientist + # gunicorn --bind :8000 --workers 3 thatcomputerscientist.wsgi --daemon + - name: Deploy + run: | + cd thatcomputerscientist + gunicorn --bind :8000 --workers 3 thatcomputerscientist.wsgi --daemon + exit 0 + -- cgit v1.2.3