aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/main.yml
blob: b836c17820d9c3da7407e2aaf09426a9eca8070f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
name: Deploy
on: [push]
jobs:
  deploy:
    runs-on: "self-hosted"
    steps:
      - name: Run Deployment Script
      - run: |
          chmod +x /home/ubuntu/deploy.sh
          /home/ubuntu/deploy.sh
        shell: bash
      - name: Start Gunicorn
      - run: |
          cd /home/ubuntu/thatcomputerscientist && gunicorn --bind :8000 --workers 2 thatcomputerscientist.wsgi --daemon
        shell: bash