aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.github/workflows/main.yml16
1 files changed, 1 insertions, 15 deletions
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