Refactor: Split src codebase and move reusable functions to `bot-co…
#210
This file contains hidden or 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 | |
| on: | |
| push: | |
| branches: | |
| - master | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Build release Docker image | |
| run: docker build -f release.Dockerfile . -t coqbot | |
| - name: Install Heroku CLI | |
| run: curl https://cli-assets.heroku.com/install.sh | sh | |
| - uses: akhileshns/heroku-deploy@v3.13.15 | |
| with: | |
| heroku_api_key: ${{secrets.HEROKU_API_KEY}} | |
| heroku_app_name: coqbot | |
| heroku_email: ${{secrets.HEROKU_EMAIL}} | |
| usedocker: true |