Distribute releases from private Terrium repo by downloading them from GitHub and serving them itself, updating website download links and announcing on Discord
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.
 
Lamp 95f5bea88b
github requires user agent header
4 years ago
.gitignore add pm2 ecosystem config 4 years ago
README.md Create README.md 4 years ago
config.js https 4 years ago
ecosystem.config.js add pm2 ecosystem config 4 years ago
index.js github requires user agent header 4 years ago
package-lock.json there was no body parser... 4 years ago
package.json there was no body parser... 4 years ago

README.md

This thing publicly distributes terrium releases from the private github repository. On a release, github sends a request to this server's webhook (at /update), the assets are downloaded to the public directory via an authenticated github user api-terrium-net, a request is sent to the website's webhook (/game-release.php) to update the version number and download links on the website specified by the file game-release.json, and an announcement is posted in discord with the release method and download links. Platforms are determined by the case-insensitive inclusion of "mac" or "osx" for the mac build, "win" for the windows build, and "linux" for the linux build, in the file names.

In case of failure, assets can be manually uploaded to the public directory (or you can upload your builds to dropbox), and game-release.json on the bluehost server can be updated manually.

Currently hosted on ts.terrium.net under user 'terrium', passphrase is files messrs pools soccer.