Skip to content

Commit

Permalink
Merge pull request #516 from DDS-Derek/local_deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
EstrellaXD authored Oct 4, 2023
2 parents a30f65f + 78c5ad0 commit 53bd85f
Show file tree
Hide file tree
Showing 2 changed files with 48 additions and 1 deletion.
19 changes: 18 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ jobs:
- name: Checkout code
uses: actions/checkout@v3

- name: Download artifact
- name: Download artifact webui
uses: actions/download-artifact@v3
with:
name: dist
Expand All @@ -236,6 +236,22 @@ jobs:
run: |
cd webui && ls -al && tree && zip -r dist.zip dist
- name: Download artifact app
uses: actions/download-artifact@v3
with:
name: dist
path: backend/src/dist

- name: Create Version info via tag
working-directory: ./backend/src
run: |
echo ${{ needs.version-info.outputs.version }}
echo "VERSION='${{ needs.version-info.outputs.version }}'" >> module/__version__.py
- name: Zip app
run: |
cd backend && zip -r app-v${{ needs.version-info.outputs.version }}.zip src
- name: Generate Release info
id: release-info
run: |
Expand All @@ -257,6 +273,7 @@ jobs:
prerelease: ${{ steps.release-info.outputs.pre_release == 'true' }}
files: |
webui/dist.zip
backend/app-v${{ needs.version-info.outputs.version }}.zip
env:
GITHUB_TOKEN: ${{ secrets.ACCESS_TOKEN }}

Expand Down
30 changes: 30 additions & 0 deletions docs/resource/unraid.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
<?xml version="1.0" encoding="UTF-8"?>

<Container version="2">
<Name Default="AutoBangumi">AutoBangumi</Name>
<Repository>estrellaxd/auto_bangumi:latest</Repository>
<Registry>https://registry.hub.docker.com/r/estrellaxd/auto_bangumi</Registry>
<Network Default="bridge">bridge</Network>
<Category>MediaServer:Video Tools Productivity</Category>
<MyIP/>
<Shell>sh</Shell>
<Privileged>false</Privileged>
<Support>https://github.com/EstrellaXD/Auto_Bangumi/issues</Support>
<Project/>
<Overview>
AutoBangumi 是基于 Mikan Project、qBittorrent 的全自动追番整理下载工具。只需要在 Mikan Project 上订阅番剧,就可以全自动追番。并且整理完成的名称和目录可以直接被 Plex、Jellyfin 等媒体库软件识别,无需二次刮削。
</Overview>
<Category/>
<WebUI>http://[IP]:[PORT:7892]/</WebUI>
<TemplateURL/>
<Icon>https://quantil.jsdelivr.net/gh/9bingyin/static@main/images/AutoBangumi.png</Icon>
<ExtraParams>--dns 8.8.8.8 --dns 223.5.5.5</ExtraParams>
<PostArgs/>
<CPUset/>
<DonateText/>
<DonateLink/>
<Requires/>
<Config Name="WebUI" Target="7892" Default="7892" Mode="tcp" Description="" Type="Port" Display="always" Required="false" Mask="false">7892</Config>
<Config Name="Config" Target="/app/config" Default="" Mode="rw" Description="" Type="Path" Display="always" Required="false" Mask="false">/mnt/user/appdata/AutoBangumi/config</Config>
<Config Name="Data" Target="/app/data" Default="" Mode="rw" Description="" Type="Path" Display="always" Required="false" Mask="false">/mnt/user/appdata/AutoBangumi/data</Config>
</Container>

0 comments on commit 53bd85f

Please sign in to comment.