├── Dockerfile ├── .github └── workflows │ └── heroku.yml └── README.md /Dockerfile: -------------------------------------------------------------------------------- 1 | # using the latest build of the official docker 2 | FROM tindy2013/subconverter:latest 3 | # expose internal port 4 | EXPOSE 25500 -------------------------------------------------------------------------------- /.github/workflows/heroku.yml: -------------------------------------------------------------------------------- 1 | name: heroku 2 | 3 | on: 4 | push: 5 | branches: 6 | - main 7 | workflow_dispatch: 8 | 9 | jobs: 10 | build: 11 | runs-on: ubuntu-latest 12 | steps: 13 | - uses: actions/checkout@main 14 | - uses: akhileshns/heroku-deploy@master # This is the action 15 | with: 16 | heroku_api_key: ${{secrets.HEROKU_API_KEY}} 17 | heroku_app_name: "jth-subconver" #Must be unique in Heroku 18 | heroku_email: ${{secrets.HEROKU_EMAIL}} 19 | usedocker: true 20 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # subconverter-heroku-koyeb 2 | subconverter自动部署到heroku 3 | subconverter自动部署到heroku 4 | 5 | # 具体操作请见博客 https://blog.imkcp.xyz/subconverter/ 6 | 7 | ## 部署到heroku 8 | subconverter-heroku:https://github.com/BlueHtml/subconverter-heroku 9 | 10 | 步骤如下: 11 | 12 | forksubconverter-heroku项目 13 | 添加Secret:HEROKU_API_KEY和HEROKU_EMAIL 14 | 修改heroku.yml里的heroku_app_name的值 15 | 点击Actions->点击heroku->点击Run workflow 16 | 部署后访问/version,如果出现subconverter v版本号 backend说明部署成功。 17 | 18 | ## 部署到koyeb 19 | 20 | 点一下这个图标,然后全部默认就行 21 | 22 | [![Deploy to Koyeb](https://www.koyeb.com/static/images/deploy/button.svg)](https://app.koyeb.com/deploy?type=docker&name=subconver&ports=8080;http;/&image=jth445600/subconver) 23 | --------------------------------------------------------------------------------