Skip to content

Commit

Permalink
checkout branch
Browse files Browse the repository at this point in the history
  • Loading branch information
abrichr committed Jan 16, 2024
1 parent 9f305fa commit a257217
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/docker-build-ec2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,10 @@ jobs:
key: ${{ secrets.SSH_PRIVATE_KEY }}

script: |
whoami
ls -al
git clone https://github.com/OpenAdaptAI/SoM
cd SoM
git checkout feat/deploy
ls -al
# Login to AWS ECR
$(aws ecr get-login --no-include-email --region us-east-1)
Expand Down
5 changes: 2 additions & 3 deletions docker-build-ec2.yml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,10 @@ jobs:
key: ${{ secrets.SSH_PRIVATE_KEY }}
{% endraw %}
script: |
whoami
ls -al

git clone https://github.com/{{ github_path }}
cd {{ github_repo }}
git checkout {{ branch_name }}
ls -al

# Login to AWS ECR
$(aws ecr get-login --no-include-email --region {{ aws_region }})
Expand Down

0 comments on commit a257217

Please sign in to comment.