Skip to content

Commit

Permalink
Remove Heroku from deployment process
Browse files Browse the repository at this point in the history
  • Loading branch information
farridav committed Nov 3, 2022
1 parent ff77a74 commit 6d6429a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 12 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
name: Deploy to Heroku
name: Deploy to test.pypi.org
on:
push:
branches: [master]
Expand All @@ -23,11 +23,3 @@ jobs:
run: |
poetry config repositories.testpypi https://test.pypi.org/legacy/
poetry publish --build -r testpypi --username ${{ secrets.TESTPYPI_USERNAME }} --password ${{ secrets.TESTPYPI_PASSWORD }} || :
- name: Deploy to Heroku
uses: akhileshns/heroku-deploy@v3.12.12
with:
heroku_api_key: ${{secrets.HEROKU_API_KEY}}
heroku_app_name: "django-jazzmin"
heroku_email: "${{secrets.HEROKU_EMAIL}}"
appdir: tests/test_app
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
---

name: Deploy
name: Deploy to pypi.org
on:
release:
types: [published, created, edited]
Expand All @@ -14,7 +13,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v3
with:
python-version: '3.x'
python-version: "3.x"
cache: pip

- name: Install dependencies
Expand Down

0 comments on commit 6d6429a

Please sign in to comment.