diff --git a/.github/workflows/build-and-deploy.yaml b/.github/workflows/build-and-deploy.yaml new file mode 100644 index 0000000..3341150 --- /dev/null +++ b/.github/workflows/build-and-deploy.yaml @@ -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