Skip to content

Commit a402ad8

Browse files
committed
Add a GitHub Workflow config file
Reason for Change ================= * We should be able to deploy automatically from `main` to staging once merge is complete Changes ======= * Added a workflow config file * Reference: https://github.com/marketplace/actions/deploy-to-heroku
1 parent 65af3d5 commit a402ad8

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

.github/workflows/main.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: Deploy
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
8+
jobs:
9+
build:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/checkout@v2
13+
- uses: akhileshns/[email protected] # This is the action
14+
with:
15+
heroku_api_key: ${{secrets.HEROKU_API_KEY}}
16+
heroku_app_name: "cfp-next-staging" #Must be unique in Heroku
17+
heroku_email: "[email protected]"

0 commit comments

Comments
 (0)