Skip to main content

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


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 details)

Uploaded Source

Built Distribution

cdk_github_import-1.0.0-py3-none-any.whl (16.0 kB view details)

Uploaded Python 3

File details

Details for the file cdk-github-import-1.0.0.tar.gz.

File metadata

  • Download URL: cdk-github-import-1.0.0.tar.gz
  • Upload date:
  • Size: 15.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.7.6

File hashes

Hashes for cdk-github-import-1.0.0.tar.gz
Algorithm Hash digest
SHA256 21c1b6479b96e023652bd24b7ddbd2cc54b78e0eb870f4b63ed104237e7d44dd
MD5 be3ef72c92eeaa0a3b6f1b8cd3d62da6
BLAKE2b-256 18819917e567f726c94de9394ed655b5d3d41cdcfef8b6e831bd5d8622f33497

See more details on using hashes here.

File details

Details for the file cdk_github_import-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: cdk_github_import-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 16.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.7.6

File hashes

Hashes for cdk_github_import-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4b93ccbad405a133d44e6302bd155147f0cc4ff6bc6c6638d862b6018ac1f24d
MD5 f819560ae081e4bcb1c73c9a255e99a1
BLAKE2b-256 8e29da4f51e325ad65dec852a9e80c66f85e6881b99f8bd77856815792de5ab3

See more details on using hashes here.

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