Merge pull request #516 from DDS-Derek/local_deploy

This commit is contained in:
Estrella Pan
2023-10-04 21:46:46 +08:00
committed by GitHub
2 changed files with 48 additions and 1 deletions

View File

@@ -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
@@ -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: |
@@ -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 }}

30
docs/resource/unraid.xml Normal file
View File

@@ -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>