Skip to content

Commit

Permalink
ci: added build and deploy workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
froid1911 committed Jul 28, 2024
1 parent 29f5e94 commit 4f0c7d7
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/build-and-deploy.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Build & Deploy

on:
push:
branches: [main]

env:
HUSKY: 0

jobs:
build:
environment: Production
runs-on: ubuntu-latest
steps:
# Check-out your repository.
- name: Checkout
uses: actions/checkout@v2

- name: Build, Push and Release APP to Heroku. # Your custom step name
uses: gonuit/heroku-docker-deploy@v1.3.3
with:
email: ${{ secrets.HEROKU_EMAIL }}
heroku_api_key: ${{ secrets.HEROKU_API_KEY }}
heroku_app_name: ${{ secrets.HEROKU_APP_NAME }}
process_type: web

0 comments on commit 4f0c7d7

Please sign in to comment.