Skip to content

Commit 2b5ad5d

Browse files
Merge remote-tracking branch 'origin/main' into main
2 parents 2f84b7d + c574beb commit 2b5ad5d

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

.github/workflows/testing.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,3 +40,15 @@ jobs:
4040
- name: Django Testing
4141
run: |
4242
python3 manage.py test
43+
44+
deploy:
45+
runs-on: ubuntu-latest
46+
name: Git Deploy job- A job to deploy django app to heroku using git
47+
steps:
48+
- name: Deploy django to heroku
49+
uses: zarif98sjs/C-Compiler-Code-Generation-CI-CD
50+
with:
51+
heroku_app_name: ${{ secrets.HEROKU_APP_NAME }}
52+
heroku_api_key: ${{ secrets.HEROKU_API_KEY }}
53+
heroku_email_address: 'midnight.scream98@gmail.com'
54+
use_git: true

0 commit comments

Comments
 (0)