File tree Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Original file line number Diff line number Diff line change 27
27
python-version : 3.8
28
28
- run : python -m pip install -r requirements.txt -r requirements-dev.txt
29
29
- run : python -m pytest
30
- - run : python -m PyInstaller --onefile app.py
30
+ - run : python -m PyInstaller --onefile app.py -n polydodo_server
31
31
- uses : actions/upload-artifact@v2
32
32
with :
33
33
name : " server_${{ runner.os }}"
68
68
with :
69
69
name : server_Linux
70
70
path : backend/dist/linux
71
- - run : chmod +x backend/dist/linux/app
72
- - run : tar -pczvf linux.tar.gz -C backend/dist/linux app
71
+ - run : chmod +x backend/dist/linux/polydodo_server
72
+ - run : tar -pczvf linux.tar.gz -C backend/dist/linux polydodo_server
73
73
- uses : actions/upload-release-asset@v1
74
74
env :
75
75
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
83
83
with :
84
84
name : server_macOS
85
85
path : backend/dist/macos
86
- - run : chmod +x backend/dist/macos/app
87
- - run : tar -pczvf macos.tar.gz -C backend/dist/macos app
86
+ - run : chmod +x backend/dist/macos/polydodo_server
87
+ - run : tar -pczvf macos.tar.gz -C backend/dist/macos polydodo_server
88
88
- uses : actions/upload-release-asset@v1
89
89
env :
90
90
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
@@ -103,6 +103,6 @@ jobs:
103
103
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
104
104
with :
105
105
upload_url : ${{ steps.create_release.outputs.upload_url }}
106
- asset_path : ./backend/dist/windows/app .exe
106
+ asset_path : ./backend/dist/windows/polydodo_server .exe
107
107
asset_name : polydodo_server_standalone_windows-x64.exe
108
108
asset_content_type : application/octet-stream
Original file line number Diff line number Diff line change 1
1
FROM ubuntu
2
2
COPY backend/dist/ /
3
- RUN chmod +x /app
4
- CMD /app
3
+ RUN chmod +x /polydodo_server
4
+ CMD /polydodo_server
You can’t perform that action at this time.
0 commit comments