-
-
Notifications
You must be signed in to change notification settings - Fork 15
27 lines (25 loc) · 749 Bytes
/
deploy.yml
File metadata and controls
27 lines (25 loc) · 749 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
name: Deploy
on:
workflow_dispatch:
inputs:
environment:
description: Environment to deploy to
required: true
default: heroku-production
type: choice
options:
- heroku-production
jobs:
build:
runs-on: ubuntu-latest
environment: ${{ github.event.inputs.environment }}
steps:
- uses: actions/checkout@v4
- name: Install Heroku CLI
run: |
curl https://cli-assets.heroku.com/install.sh | sh
- uses: akhileshns/heroku-deploy@e3eb99d45a8e2ec5dca08735e089607befa4bf28
with:
heroku_api_key: ${{ secrets.HEROKU_API_KEY }}
heroku_app_name: ${{ vars.HEROKU_APP_NAME }}
heroku_email: ${{ vars.HEROKU_EMAIL }}