Skip to content

feat: implement Telex integration JSON structure #24

feat: implement Telex integration JSON structure

feat: implement Telex integration JSON structure #24

Workflow file for this run

name: Deploy to Heroku
on:
push:
branches:
- feature/heroku
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install Heroku CLI
run: |
curl https://cli-assets.heroku.com/install.sh | sh
- name: Login to Heroku Container Registry
env:
HEROKU_API_KEY: ${{ secrets.HEROKU_API_KEY }}
run: heroku container:login
- name: Set Heroku stack to container
env:
HEROKU_API_KEY: ${{ secrets.HEROKU_API_KEY }}
run: heroku stack:set container -a github-commit-monitor
- name: Build and push
env:
HEROKU_API_KEY: ${{ secrets.HEROKU_API_KEY }}
run: |
heroku container:push web -a github-commit-monitor
heroku container:release web -a github-commit-monitor
- name: Set environment variables
env:
HEROKU_API_KEY: ${{ secrets.HEROKU_API_KEY }}
run: |
heroku config:set MY_GITHUB_SECRET=${{ secrets.MY_GITHUB_SECRET }} -a github-commit-monitor
heroku config:set CHANNEL_ID=${{ secrets.CHANNEL_ID }} -a github-commit-monitor
heroku config:set APP_URL=https://github-commit-monitor-4a53c549b932.herokuapp.com/ -a github-commit-monitor