Skip to content

Commit 486fa15

Browse files
committed
refactor: rename github workflow for panel
1 parent 59544a7 commit 486fa15

File tree

4 files changed

+21
-37
lines changed

4 files changed

+21
-37
lines changed

.github/workflows/create-user.yml .github/workflows/panel-create-user.yml

-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,6 @@ jobs:
4949
ssh_cert: ${{ secrets.CODINGLABGG_SSH_CERT }}
5050

5151
- name: '`docker compose run php artisan p:user:mak` on the production server'
52-
working-directory: .
5352
run: docker --context prod-server compose run --rm panel php artisan p:user:make \
5453
--username=${{ github.event.inputs.username }} \
5554
--password=${{ github.event.inputs.password }} \

.github/workflows/deployment.yml .github/workflows/panel-deployment.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
working-directory: ./pterodactyl/panel
1313

1414
environment:
15-
name: production
15+
name: panel-prod
1616
url: https://codinglab.gg
1717

1818
steps:

.github/workflows/remove-user.yml

-33
This file was deleted.

README.md

+20-2
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,23 @@
44

55
**What to find here ?**
66

7-
- A pterodactyl dashboard panel to manage all game-servers
8-
- Game servers docker images that we use to play
7+
- A pterodactyl dashboard panel to manage all game-servers.
8+
- Game servers docker images that we use to play.
9+
- Custom plugins and configurations for games we play.
10+
11+
## How to setup the pterodactyl panel
12+
13+
Open your github secrets and add the following:
14+
15+
- `CODINGLABGG_SSH_KEY` : The private key to connect to the server
16+
- `CODINGLABGG_SSH_USER` : The user used to connect to the server (`pterodactyl`)
17+
- `CODINGLABGG_SSH_HOST` : The host/ip of the server (`codinglab.gg`)
18+
- `CODINGLABGG_SSH_CERT` : The public certificate of the server (`ssh-keyscan codinglab.gg`)
19+
20+
Then push to the repository, [the github `panel-deployment.yml` action](./.github/workflows/panel-deployment.yml) will deploy the panel to the server.
21+
22+
## How to setup a fresh game server
23+
24+
The panel and the game server are different entities. The panel is the dashboard to manage the game servers. The game servers are the actual servers where the games are running.
25+
26+
To setup a fresh game server, you need to run the wings agent on the server. The wings agent is the software that connects the game server to the panel.

0 commit comments

Comments
 (0)