Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update #149

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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"
Loading