Deploy yaml files to a large number of repositories in seconds.
Project description
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
Release history Release notifications | RSS feed
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 details)
Built Distribution
File details
Details for the file github-deploy-0.0.2.tar.gz
.
File metadata
- Download URL: github-deploy-0.0.2.tar.gz
- Upload date:
- Size: 2.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 465bc1a09d74e28013fbdfac7b057e0af128dbd2896229f4c6b05055a1ebbeb7 |
|
MD5 | 388c1f328a0a09226a995a9456d2c3d5 |
|
BLAKE2b-256 | ff001e6b06bbd983918178584217313f31a14f768f2864c6ffad1416e2ca8f47 |
File details
Details for the file github_deploy-0.0.2-py3-none-any.whl
.
File metadata
- Download URL: github_deploy-0.0.2-py3-none-any.whl
- Upload date:
- Size: 14.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | dbcfe0e5d6dd583370819cedc8ab427f9525db5d3ddc72b44f9a047e5e1d320a |
|
MD5 | 2a4b345f9a3ef09bd7168a715bf42f55 |
|
BLAKE2b-256 | ac0e4955bec3d204b827eae956dc4e25187417ea8e8223b64cac21e3d19d4d53 |