Skip to main content

Deploy yaml files to a large number of repositories in seconds.

Project description

Upload Python Package

github-deploy

Using poly repositories to manage projects can introduce a number challenges one of which is maintaining consistency across multiple repositories for configurations that needs to be the same accross all of them in your organization.

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

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

Example:

github-deploy --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-delete

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

Example:

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

Resources

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

github-deploy-0.0.2.tar.gz (2.1 kB view hashes)

Uploaded Source

Built Distribution

github_deploy-0.0.2-py3-none-any.whl (14.3 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page