Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
5hojib committed Nov 15, 2024
1 parent 4a1158b commit 74d8e8b
Show file tree
Hide file tree
Showing 5 changed files with 64 additions and 6 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ on:
HEROKU_EMAIL:
description: "Heroku email address"
required: true
HK_TEAM_NAME:
HEROKU_TEAM_NAME:
description: "Heroku Team Name"
required: false
BOT_TOKEN:
Expand All @@ -36,16 +36,14 @@ jobs:
steps:
- name: Checkout deploy branch
uses: actions/checkout@v2
with:
ref: "refs/heads/deploy"

- name: Deploy to Heroku
uses: 5hojib/heroku-deploy-action@v1.0.1
uses: 5hojib/heroku-deploy-action@v2
with:
heroku_api_key: ${{inputs.HEROKU_API_KEY}}
heroku_app_name: ${{inputs.HEROKU_APP_NAME}}
heroku_email: ${{inputs.HEROKU_EMAIL}}
team: ${{ inputs.HK_TEAM_NAME != '' && format('team={0}', inputs.HK_TEAM_NAME) || '' }}
team: ${{ inputs.HEROKU_TEAM_NAME != '' && format('team={0}', inputs.HEROKU_TEAM_NAME) || '' }}
usedocker: true
docker_heroku_process_type: web
stack: "container"
Expand Down
10 changes: 10 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
FROM 5hojib/aeon:latest

WORKDIR /usr/src/app
RUN chmod 777 /usr/src/app

COPY requirements.txt .
RUN pip3 install --break-system-packages --ignore-installed --no-cache-dir -r requirements.txt

COPY . .
CMD ["bash", "start.sh"]
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@

1. **Fork and Star the Repository**
- Start by forking and starring this repository.
- When forking, ensure that the option "Copy the default branch only" is unchecked before forking the repository.

2. **Navigate to Your Forked Repository**
- Once the repository is forked, navigate to your forked repository.
Expand All @@ -36,6 +35,7 @@
- `HEROKU_APP_NAME`
- `HEROKU_EMAIL`
- `HEROKU_API_KEY`
- `HEROKU_TEAM_NAME` optional for Team user.
- Run the action workflow.

5. **Finalize the Deployment**
Expand Down
43 changes: 43 additions & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
aiohttp
aiofiles
aioshutil
anytree==2.8.0
apscheduler
aria2p
asyncio
beautifulsoup4
bencoding
cinemagoer
cloudscraper
dnspython
electrogram
feedparser
flask
gevent
google-api-python-client
google-auth-httplib2
google-auth-oauthlib
gunicorn
httpx
langcodes
lxml
motor
mutagen
markdown
natsort
pillow
psutil
pybase64
pycountry
python-dotenv
pyshorteners
python-magic
qbittorrent-api
requests
speedtest-cli
telegraph
tenacity
uv
uvloop
xattr
yt-dlp[default]
7 changes: 7 additions & 0 deletions sample_config.env
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
OWNER_ID = ""
TELEGRAM_API = ""
TELEGRAM_HASH = ""
DATABASE_URL = ""

UPSTREAM_REPO = "https://github.com/5hojib/Aeon"
UPSTREAM_BRANCH = "main"

0 comments on commit 74d8e8b

Please sign in to comment.