Skip to content

Simple Node.js server to automatically save Unity Cloud builds, only used internally for now.

Notifications You must be signed in to change notification settings

salmonslay/Galhooks

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Galhooks

Galhooks is a simple Node.js / Express server used to save and list Unity Cloud builds online. It was made as an internal tool, but should work for any project.

image

Set-up

Galhooks will by default run on port 3000. This can be changed directly in /bin/www.

git clone https://github.com/LiterallyFabian/Galhooks.git
cd Galhooks
npm install
# (set up database from `table.sql`)
# (set your environment variables from `.env.example`)
npm start 
  1. Head over to your projects integrations page (https://dashboard.unity3d.com/organizations/--ORG--/projects/--PROJECT UPID--/settings/integrations) and click "New integration"

  2. Select Webhook, and select the Build Success event.

  3. Fill in your webhook URL (see API) and authorization secret. Leave SSL/TLS verification enabled.

Prereqs

  • Node.js >=v10.24.1
  • MySQL

API

HTTP Method URI Path Headers Description
GET / Returns the table with all builds.
POST /webhook Authorization Adds a build to the database. Unity should be configured to post here.

About

Simple Node.js server to automatically save Unity Cloud builds, only used internally for now.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published