From cb47fcb1b7d29a7b4475d7b13a0975d5307ecf94 Mon Sep 17 00:00:00 2001 From: Bobby Date: Fri, 11 Nov 2022 01:02:25 -0500 Subject: Running Deployment Script on Server --- .github/workflows/main.yml | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) (limited to '.github/workflows') diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 217968c0..f07aa1ac 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -2,20 +2,6 @@ name: Deploy on: [push] jobs: deploy: - name: Deploy App runs-on: "self-hosted" steps: - - name: Checkout - uses: actions/checkout@v2 - - name: Switch to thatcomputerscientist folder - run: cd /home/ubuntu/thatcomputerscientist/thatcomputerscientist/thatcomputerscientist - - name: Install Requirements - run: pip3 install -r requirements.txt - - name: Run Django Migrations - run: python3 manage.py migrate - - name: Run Django Makemigrations - run: python3 manage.py makemigrations - - name: Run Django Collectstatic - run: python3 manage.py collectstatic --noinput - - name: Start Gunicorn - run: python3 manage.py runserver 8080 --noreload + - run: /home/ubuntu/deploy.sh \ No newline at end of file -- cgit v1.2.3