Skip to content

Commit

Permalink
Merge pull request #283 from euanwm/feature/improve_cicd
Browse files Browse the repository at this point in the history
improve ci/cd pipeline
  • Loading branch information
euanwm authored Dec 27, 2023
2 parents d4be159 + 7fd2862 commit 1914b4d
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 1914b4d

Please sign in to comment.