将本地文件资产导入新的Github存储库
cdk-github-import的Python项目详细描述
cdk-github-import
将本地文件资产导入新的GitHub存储库
使用
# Example automatically generated without compilation. See https://github.com/aws/jsii/issues/826fromcdk_github_importimportDeployment# create a new github repository pahud/new-repo and import all files from ./lib to itDeployment(stack,"NewImport",path="./lib",owner="pahud",repository_name="new-repo",access_token=cdk.SecretValue.secrets_manager("my-github-token",json_field="token"))
专用存储库
将visibility
设置为PRIVATE
,以创建私有GitHub存储库。在
- 项目
标签: