feat(Accounting): Add functionality to mark bills as paid #250
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: Deploy to Heroku | |
on: | |
push: | |
branches: | |
- '*' | |
workflow_dispatch: | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
env: | |
HEROKU_API_KEY: ${{ secrets.HEROKU_API_KEY }} | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Install Heroku CLI | |
run: | | |
curl https://cli-assets.heroku.com/install.sh | sh | |
- name: Log in to Heroku container registry | |
run: echo "$HEROKU_API_KEY" | docker login --username=_ --password-stdin registry.heroku.com | |
- name: Build Docker image | |
run: docker build -t registry.heroku.com/${{ secrets.HEROKU_APP_NAME }}/web -f docker/Dockerfile.app . | |
- name: Push Docker image to Heroku | |
run: docker push registry.heroku.com/${{ secrets.HEROKU_APP_NAME }}/web | |
- name: Release the image on Heroku | |
run: heroku container:release web --app ${{ secrets.HEROKU_APP_NAME }} |