One click: the Gamavas Edge GitHub App
1
Connect GitHub
On your project’s page at gamavas.fun/host, under Deploy from GitHub, choose Connect GitHub and install the Gamavas Edge app on the repositories you want.
2
Pick the repository
Back on the project page, pick the repository and the folder with your built game, for example
dist or build/WebGL. Gamavas suggests one by looking at the repository. Pushes to the default branch, usually main, go live.3
Merge the pull request
Gamavas opens a pull request that adds the deploy workflow, and stores a deploy token in the repository’s secrets. Merge it, and your next push deploys.
By hand, with the GitHub Action
Prefer to set it up yourself, or already have a workflow? UseGamavas/deploy-action.
1
Make a deploy token
On your project’s page, under Deploy from GitHub, make a deploy token. Copy it; it’s shown once.
2
Add it to your repository
In GitHub: Settings → Secrets and variables → Actions → New repository secret. Name it
GAMAVAS_DEPLOY_TOKEN and paste the token.3
Add the workflow
.github/workflows/deploy.yml
The action’s outputs are
url (where the game is now), preview-url (this deploy’s own address) and live.
Revoke a deploy token on the project page if it leaks; workflows using it stop deploying at once.
