How to auto deploying git repositories with submodules on AWS?

前端 未结 8 962
长发绾君心
长发绾君心 2021-02-04 15:02

I have a submodule in my git repository and my directory structure is like,

app
  -- folder1
  -- folder2
  -- submodule @5855

I have deployed

8条回答
  •  隐瞒了意图╮
    2021-02-04 15:16

    SSH is not needed if you're using CodeCommit as a repository. Use the AWS CLI Credential Helper and clone over https.

    git config --global credential.helper '!aws codecommit credential-helper $@'
    git config --global credential.UseHttpPath true
    git clone https://git-codecommit.[region].amazonaws.com/v1/repos/[repo]
    

提交回复
热议问题