generated from jikkubot/TorrentLeechX
-
Notifications
You must be signed in to change notification settings - Fork 1
31 lines (28 loc) · 1.14 KB
/
main.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
name: Manually 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_APP_ID: ${{secrets.APP_ID}}
HD_API_HASH: ${{secrets.API_HASH}}
HD_TG_BOT_TOKEN: ${{secrets.TG_BOT_TOKEN}}
HD_AUTH_CHANNEL: ${{secrets.AUTH_CHANNEL}}
HD_OWNER_ID: ${{secrets.OWNER_ID}}
HD_CHUNK_SIZE: ${{secrets.CHUNK_SIZE}}
HD_EDIT_SLEEP_TIME_OUT: ${{secrets.EDIT_SLEEP_TIME_OUT}}
HD_MAX_TIME_TO_WAIT_FOR_TORRENTS_TO_START: ${{secrets.MAX_TIME_TO_WAIT_FOR_TORRENTS_TO_START}}
HD_TG_MAX_FILE_SIZE: ${{secrets.TG_MAX_FILE_SIZE}}
HD_MAX_TG_SPLIT_FILE_SIZE: ${{secrets.MAX_TG_SPLIT_FILE_SIZE}}
HD_ARIA_TWO_STARTED_PORT: ${{secrets.ARIA_TWO_STARTED_PORT}}