Skip to content

Commit

Permalink
Update branch to main in InitiateRelease and ManualPushToCodeCommit G…
Browse files Browse the repository at this point in the history
…ithub actions
  • Loading branch information
danehlim committed Feb 7, 2024
1 parent 07a3e3e commit 4e20325
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/initiaterelease.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,11 +66,11 @@ jobs:
pip install git-remote-codecommit
- name: Mirror to shinkansen branch on codecommit repository
run: |
git clone --single-branch --branch feature/shinkansen https://github.com/aws/amazon-ecs-ami ecsAmiGithub
git clone --single-branch --branch main https://github.com/aws/amazon-ecs-ami ecsAmiGithub
git clone codecommit::us-west-2://amazon-ecs-ami-mirror ecsAmiCodeCommit
cp ecsAmiCodeCommit/Config ecsAmiGithub/
cd ecsAmiGithub
git add Config
git commit -m "Add config"
git remote add codecommit codecommit::us-west-2://amazon-ecs-ami-mirror
git push codecommit feature/shinkansen:shinkansen
git push codecommit main:shinkansen
4 changes: 2 additions & 2 deletions .github/workflows/manualtrigger.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,11 @@ jobs:
pip install git-remote-codecommit
- name: Mirror to shinkansen branch on codecommit repository
run: |
git clone --single-branch --branch feature/shinkansen https://github.com/aws/amazon-ecs-ami ecsAmiGithub
git clone --single-branch --branch main https://github.com/aws/amazon-ecs-ami ecsAmiGithub
git clone codecommit::us-west-2://amazon-ecs-ami-mirror ecsAmiCodeCommit
cp ecsAmiCodeCommit/Config ecsAmiGithub/
cd ecsAmiGithub
git add Config
git commit -m "Add config"
git remote add codecommit codecommit::us-west-2://amazon-ecs-ami-mirror
git push codecommit feature/shinkansen:shinkansen
git push codecommit main:shinkansen

0 comments on commit 4e20325

Please sign in to comment.