ci(pyinstaller): webApi打包增加静态文件

fix #39
This commit is contained in:
imgyh 2023-05-23 22:06:32 +08:00
parent b38e210927
commit f7a3acc754

View File

@ -29,7 +29,7 @@ jobs:
python -m pip install --upgrade pip
python -m pip install -r requirements.txt
pyinstaller -i ./static/img/favicon.ico -F DouYinCommand.py
pyinstaller -i ./static/img/favicon.ico -F WebApi.py --add-data "templates;templates"
pyinstaller -i ./static/img/favicon.ico -F WebApi.py --add-data "templates;templates" --add-data "static;static"
- name: Create Release and Upload Release Asset
uses: softprops/action-gh-release@v1