Skip to content

Commit

Permalink
altered workflows for prod/dev
Browse files Browse the repository at this point in the history
  • Loading branch information
euanwm committed Dec 27, 2023
1 parent d4be159 commit 7fd2862
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 4 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/deploy_dev.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Deploy to Development

on:
push:
branches:
- development

jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Deploy Development Backend
uses: behe/heroku-build@v1
with:
app-name: "dev-branch-backend"
api-key: "${{secrets.HEROKU_API_KEY}}"
path: "./backend/"
- name: Deploy Development Frontend
uses: behe/heroku-build@v1
with:
app-name: "dev-branch-frontend"
api-key: "${{secrets.HEROKU_API_KEY}}"
path: "./frontend/"
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
name: Deploy to Heroku
name: Deploy to Production

on:
push:
branches:
- master
release:
types: [published]

jobs:
deploy:
Expand Down

0 comments on commit 7fd2862

Please sign in to comment.