Skip to content

Commit

Permalink
fixed after review
Browse files Browse the repository at this point in the history
  • Loading branch information
ZebraHr committed Aug 22, 2023
1 parent 61ddc4d commit 13b170b
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 11 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@

name: Main Kittygram workflow

on:
push:
branches:
- main
on: push

jobs:
tests:
Expand Down
3 changes: 2 additions & 1 deletion backend/kittygram_backend/urls.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
from cats.views import AchievementViewSet, CatViewSet
from django.conf import settings
from django.conf.urls.static import static
from django.contrib import admin
from django.urls import include, path
from rest_framework import routers

from cats.views import AchievementViewSet, CatViewSet

router = routers.DefaultRouter()
router.register(r'cats', CatViewSet)
router.register(r'achievements', AchievementViewSet)
Expand Down
1 change: 1 addition & 0 deletions backend/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,4 @@ pytest-django==4.4.0
pytest-pythonpath==0.7.3
PyYAML==6.0
python-dotenv==1.0.0
gunicorn==20.1.0
6 changes: 1 addition & 5 deletions kittygram_workflow.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@

name: Main Kittygram workflow

on:
push:
branches:
- main
on: push

jobs:
tests:
Expand Down

0 comments on commit 13b170b

Please sign in to comment.