Skip to content

Commit

Permalink
deployement and CI/CD github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
naman-sriv committed Dec 4, 2023
1 parent 9e66055 commit 3e247e2
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Deploy with Heroku

on:
push:
branches: [main]

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2

- name: Build, Push and Release a Docker container to Heroku
uses: gonuit/[email protected]
with:
heroku_api_key: ${{ secrets.HEROKU_API_KEY }}
heroku_app_name: ${{ secrets.HEROKU_APP_NAME }} #Must be unique in Heroku
heroku_email: ${{ secrets.HEROKU_EMAIL }}

dockerfile_directory: ./
dockerfile_name: Dockerfile
docker_options: "--no-cache"
process_type: web

0 comments on commit 3e247e2

Please sign in to comment.