Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 

README.md

Team-Sync

This project demonstrates how to sync one Team to another Team using the GitHub API.

Setup

Requires running your own Heroku cron daemon.

# clone the repo
$ git clone https://github.com/mtodd/team-sync
$ cd team-sync

# create a heroku app
heroku create
git push heroku master

# configure settings
# first generate a personal access token (with admin:org scope)
$ heroku config:set GITHUB_ACCESS_TOKEN=abcd1234
# set source team
$ heroku config:set SOURCE=myorg/source-team
# set target team(s)
$ heroku config:set TARGET=myorg/target-team

# configure cron task
$ heroku addons:add scheduler:standard
$ heroku addons:open scheduler

Schedule the rake sync task:

About

Replicate members list from one team to another

Resources

License

Releases

No releases published

Packages

No packages published

Languages

You can’t perform that action at this time.