Skip to content

Commit

Permalink
Update aws-amplify.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
RaoHai committed Sep 13, 2024
1 parent 115d6fb commit 2c376a4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/aws-amplify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ jobs:
id: check_branch
run: |
branch_name="${{ github.head_ref }}"
app_id="${{ vars.AMPLIFY_APP_ID }}
app_id="${{ vars.AMPLIFY_APP_ID }}"
branch_exists=$(aws amplify list-branches --app-id $app_id --query "branches[?branchName=='$branch_name'].branchName" --output text)
Expand All @@ -81,7 +81,7 @@ jobs:
- name: Start Amplify deployment
run: |
branch_name="${{ github.head_ref }}"
app_id="${{ vars.AMPLIFY_APP_ID }}
app_id="${{ vars.AMPLIFY_APP_ID }}"
aws amplify start-deployment --app-id $app_id --branch-name $branch_name --output json > deployment.json
Expand Down

0 comments on commit 2c376a4

Please sign in to comment.