Skip to content

Commit

Permalink
chore: changing deployment method
Browse files Browse the repository at this point in the history
  • Loading branch information
daithihearn committed Feb 2, 2024
1 parent 594f683 commit 2c885a3
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/deploy-to-heroku.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Deploy to Heroku

on:
release:
types: [ published ]

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2

- name: Deploy to Heroku
uses: akhileshns/[email protected]
with:
heroku_api_key: ${{ secrets.HEROKU_API_KEY }}
heroku_app_name: ${{ secrets.HEROKU_APP_NAME }}
heroku_email: ${{ secrets.EMAIL }}
5 changes: 5 additions & 0 deletions heroku.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
build:
docker:
web: Dockerfile
run:
web: python TurnOnSmartPlug.py

0 comments on commit 2c885a3

Please sign in to comment.