chore: refactor code #17
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Continuous Deployment | |
on: | |
push: | |
branches: [main] | |
jobs: | |
deploy-to-production: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code and add it to CI server | |
uses: actions/checkout@v2 | |
- name: Setup heroku deploy action | |
uses: akhileshns/[email protected] | |
with: | |
heroku_api_key: ${{secrets.HEROKU_API_KEY}} | |
heroku_app_name: "prisma-node-express" | |
heroku_email: "[email protected]" |