Deploy from GitHub
Connect the server's GitHub repository to FiveDash: every push reaches the city on its own, and a deploy that crashes the server is rolled back.
Connect the server's GitHub repository to FiveDash: every push reaches the city on its own, and a deploy that crashes the server is rolled back.
With Deploy, the city’s code goes from GitHub to the server without anyone copying files. On every push to the chosen branch, the FiveDash Agent downloads that commit straight from GitHub, swaps the files and restarts what changed.
server.cfg and the resources folder) or a part of it.In Servidor → Deploy, click Connect GitHub. GitHub opens the FiveDash app’s page.
Install the app on the account or organization that owns the repository, choose Only select repositories and pick the city’s repository. The app only reads the code; it writes nothing.
GitHub asks you to sign in. That’s how FiveDash checks which repositories you can see: only those become available to this organization.
Back on FiveDash, choose the repository and the branch (for example, main) and save.
If the app is already installed, use I already installed the app. After giving it access to another repository on GitHub, click Refresh repositories.
| Field | Empty | Example |
|---|---|---|
| Folder in the repository | The repository’s root | server-data, when the repository keeps the server folder inside it |
| Folder on the server | The server folder (where server.cfg is) | resources/[rua7], to send only one group of resources |
cache, logs and the database, are left alone.| Option | What it does |
|---|---|
| Restart the changed resources | refresh and ensure on the resources that changed only. Players stay. Changes to server.cfg apply at the next restart |
| Restart the server | Restarts FXServer. Applies everything, but drops the players |
| Nothing | Only swaps the files. It applies at the next restart |
GitHub only puts LFS files in the download if you turn on Include Git LFS objects in archives in the repository’s settings (Settings → General → Archives). Without it, the agent refuses the deploy instead of replacing your maps with empty files.
Yes. Each server picks its own branch and folders, for example main on the live server and teste on the test server.