Skip to content

Commit 7fde0be

Browse files
heroku deploy 3
1 parent fc00ae9 commit 7fde0be

File tree

1 file changed

+8
-11
lines changed

1 file changed

+8
-11
lines changed

.github/workflows/testing.yml

Lines changed: 8 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -42,14 +42,11 @@ jobs:
4242
python3 manage.py test
4343
4444
deploy:
45-
runs-on: ubuntu-latest
46-
47-
steps:
48-
- uses: actions/checkout@v2
49-
# - name: Deploy django to heroku
50-
# uses: zarif98sjs/C-Compiler-Code-Generation-CI-CD@main
51-
with:
52-
heroku_app_name: ${{ secrets.HEROKU_APP_NAME }}
53-
heroku_api_key: ${{ secrets.HEROKU_API_KEY }}
54-
heroku_email_address: 'midnight.scream98@gmail.com'
55-
use_git: true
45+
runs-on: ubuntu-latest
46+
steps:
47+
- uses: actions/checkout@v2
48+
- uses: akhileshns/heroku-deploy@v3.12.12 # This is the action, this repo lets us deploy to heroku
49+
with:
50+
heroku_api_key: ${{secrets.HEROKU_API_KEY}}
51+
heroku_app_name: "compiler-ci-cd"
52+
heroku_email: "midnight.scream98@gmail.com"

0 commit comments

Comments
 (0)