Skip to content

Commit

Permalink
add workflow_dispatch to django_ci.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
DrCBeatz committed Dec 8, 2023
1 parent 57e8f77 commit 7f9cbb2
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/django_ci.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,19 @@
# django_ci.yml

name: Django CI

on:
push:
branches: [main]
pull_request:
branches: [main]
workflow_dispatch:

jobs:
build:
runs-on: ubuntu-latest

environment:
name: production
steps:
- uses: actions/checkout@v2

Expand All @@ -24,5 +28,8 @@ jobs:
pip install -r requirements.txt
- name: Run Tests
env:
SECRET_KEY: ${{ secrets.SECRET_KEY }}
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
run: |
pytest

0 comments on commit 7f9cbb2

Please sign in to comment.