Skip to content

Commit

Permalink
Create main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
MysterySD authored Sep 30, 2021
1 parent 0165e2d commit 7745b8d
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# Taken From Leech-Pro
# This is a workflow to deploy a leech bot to heroku using GitHub Actions

name: Deploy To Heroku

on: workflow_dispatch

jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: akhileshns/[email protected]
with:
heroku_api_key: ${{secrets.HEROKU_API_KEY}}
heroku_app_name: ${{secrets.HEROKU_APP_NAME}}
heroku_email: ${{secrets.HEROKU_EMAIL}}
usedocker: true
docker_heroku_process_type: worker
stack: "container"
region: "eu"
env:
HD_CONFIG_ENV_URL: ${{secrets.CONFIG_ENV_URL}}

0 comments on commit 7745b8d

Please sign in to comment.