10000 GitHub - tj-python/github-deploy at 7031b4ff0437e0c5dee4a3421bfc3c04fdba5399
[go: up one dir, main page]

Skip to content

tj-python/github-deploy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

65 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PyPI version Upload Python Package

github-deploy

Problem

Using poly repositories to manage projects ?

This can introduce a number challenges one of which is maintaining consistency across multiple repositories, for files like shared configurations without introducing git submodules or mono repositories which requires a more complex deployment configuration.

For example adding a github action or maintaing a consistent pull request template accross your organization.

Usage

Creating or Updating files on github

github-deploy update --org [org] --token [PAT_TOKEN] --dest [LOCATION TO UPLOAD FILE] --source [SOURCE FILE LOCATION]

Example:

github-deploy update --org tj-actions --token [PAT_TOKEN] --dest '.github/workflows/auto-approve.yml' --source auto-approve.yml

NOTE: auto-approve.yml is located on your local system.

Deleting files on github

github-deploy delete --org [org] --token [PAT_TOKEN] --dest [LOCATION TO DELETE]

Example:

github-deploy delete --org tj-actions --token [PAT_TOKEN] --dest '.github/auto-approve.yml'

Resources

About

Python package that automates deployment of files to multiple github repositories at once

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 5

0