Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
ishaan-tf committed Aug 17, 2024
1 parent 905c8c7 commit 305435f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/django.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
name: Django CI

on:
push:
branches: [ "main","server"]
pull_request:
branches: [ "main" ,"server"]
branches: [ "main"]

jobs:
build:
Expand All @@ -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
2 changes: 1 addition & 1 deletion .github/workflows/push-to-server.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
types: [published]
push:
branches:
- github-workflow
- github_workflow

jobs:
deploy:
Expand Down

0 comments on commit 305435f

Please sign in to comment.