Import local file assets into a new Github repository
Project description
cdk-github-import
Import local file assets into a new GitHub repository
Usage
# Example automatically generated without compilation. See https://github.com/aws/jsii/issues/826
from cdk_github_import import Deployment
# create a new github repository pahud/new-repo and import all files from ./lib to it
Deployment(stack, "NewImport",
path="./lib",
owner="pahud",
repository_name="new-repo",
access_token=cdk.SecretValue.secrets_manager("my-github-token",
json_field="token"
)
)
Private repository
Set visibility
to PRIVATE
to create a private GitHub repository.
# Example automatically generated without compilation. See https://github.com/aws/jsii/issues/826
visibility: RepositoryVisibility.PRIVATE,
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
cdk-github-import-1.0.0.tar.gz
(15.6 kB
view hashes)
Built Distribution
Close
Hashes for cdk_github_import-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4b93ccbad405a133d44e6302bd155147f0cc4ff6bc6c6638d862b6018ac1f24d |
|
MD5 | f819560ae081e4bcb1c73c9a255e99a1 |
|
BLAKE2b-256 | 8e29da4f51e325ad65dec852a9e80c66f85e6881b99f8bd77856815792de5ab3 |