Skip to content

Commit

Permalink
try to load appspec contents in the github action
Browse files Browse the repository at this point in the history
  • Loading branch information
geclos committed Sep 27, 2024
1 parent 87be882 commit c3d79f5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/deploy-web.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,8 @@ jobs:
run: |
echo "Deploying branch ${{ github.ref }} to production"
commit_hash=`git rev-parse HEAD`
appspec_content=$(cat appspec.yml | jq -Rs .)
aws deploy create-deployment \
--application-name LatitudeLLMCodeDeployApp \
--deployment-group-name LatitudeLLMDeploymentGroup
--deployment-group-name LatitudeLLMDeploymentGroup \
--revision "{\"revisionType\": \"AppSpecContent\", \"appSpecContent\": {\"content\": $appspec_content}}"

0 comments on commit c3d79f5

Please sign in to comment.