Skip to content

Commit a22a4f7

Browse files
committed
Use a more userfriendly name for the server (#89)
1 parent fc575a6 commit a22a4f7

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

.github/workflows/backend.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
python-version: 3.8
2828
- run: python -m pip install -r requirements.txt -r requirements-dev.txt
2929
- run: python -m pytest
30-
- run: python -m PyInstaller --onefile app.py
30+
- run: python -m PyInstaller --onefile app.py -n polydodo_server
3131
- uses: actions/upload-artifact@v2
3232
with:
3333
name: "server_${{ runner.os }}"
@@ -68,8 +68,8 @@ jobs:
6868
with:
6969
name: server_Linux
7070
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
7373
- uses: actions/upload-release-asset@v1
7474
env:
7575
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
@@ -83,8 +83,8 @@ jobs:
8383
with:
8484
name: server_macOS
8585
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
8888
- uses: actions/upload-release-asset@v1
8989
env:
9090
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
@@ -103,6 +103,6 @@ jobs:
103103
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
104104
with:
105105
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
107107
asset_name: polydodo_server_standalone_windows-x64.exe
108108
asset_content_type: application/octet-stream

backend/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
FROM ubuntu
22
COPY backend/dist/ /
3-
RUN chmod +x /app
4-
CMD /app
3+
RUN chmod +x /polydodo_server
4+
CMD /polydodo_server

0 commit comments

Comments
 (0)