From 305435feb0b4c1d64315cfc9da0fc8df6afdcc8c Mon Sep 17 00:00:00 2001 From: Ishaan Mittal Date: Sat, 17 Aug 2024 16:07:47 +0530 Subject: [PATCH] update --- .github/workflows/django.yml | 7 +++---- .github/workflows/push-to-server.yml | 2 +- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/django.yml b/.github/workflows/django.yml index 3521259..285c7a9 100644 --- a/.github/workflows/django.yml +++ b/.github/workflows/django.yml @@ -1,10 +1,8 @@ name: Django CI on: - push: - branches: [ "main","server"] pull_request: - branches: [ "main" ,"server"] + branches: [ "main"] jobs: build: @@ -25,5 +23,6 @@ jobs: run: | python -m pip install --upgrade pip pip install -r requirements.txt - - name: Run Tests + - name: Run Server run: | + python manage.py runserver diff --git a/.github/workflows/push-to-server.yml b/.github/workflows/push-to-server.yml index 6ea8f91..3975eb6 100644 --- a/.github/workflows/push-to-server.yml +++ b/.github/workflows/push-to-server.yml @@ -5,7 +5,7 @@ on: types: [published] push: branches: - - github-workflow + - github_workflow jobs: deploy: