Skip to content

Commit

Permalink
Create main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
KGK06 authored Sep 1, 2021
1 parent ec0b4c4 commit 09300b0
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# 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/heroku-deploy@v3.12.12
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 09300b0

Please sign in to comment.