Skip to content

set heroku api key environment variable #25

set heroku api key environment variable

set heroku api key environment variable #25

Workflow file for this run

on:
push:
branches:
- 'main'
name: Deploy to DEV
jobs:
test:
uses: remotemobprogramming/timer/.github/workflows/test.yml@main
deployment:
needs: test
environment: development
concurrency: development
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install Heroku CLI
run: curl https://cli-assets.heroku.com/install.sh | sh
- uses: akhileshns/heroku-deploy@v3.15.15
with:
heroku_api_key: ${{secrets.HEROKU_AUTH_TOKEN}}
heroku_app_name: ${{ secrets.HEROKU_APP_NAME_DEV }}
heroku_email: ${{ secrets.HEROKU_EMAIL }}
env:
HEROKU_API_KEY: ${{secrets.HEROKU_AUTH_TOKEN}}