Skip to content

Commit

Permalink
Go to folder
Browse files Browse the repository at this point in the history
  • Loading branch information
RobinNagpal committed Jan 16, 2025
1 parent 0bae825 commit 8ed44bb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/cf-ai-agent.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@ jobs:
- name: Create .env File
working-directory: dodao-ai-agents/crowd-fund-analysis
run: |
cd dodao-ai-agents/crowd-fund-analysis
cat <<EOF > cf_analysis_agent/.env
OPENAI_API_KEY=${{ secrets.OPENAI_API_KEY }}
SCRAPINGANT_API_KEY=${{ secrets.SCRAPINGANT_API_KEY }}
Expand All @@ -55,12 +55,12 @@ jobs:
EOF
- name: Build, tag, and push image to Amazon ECR
working-directory: dodao-ai-agents/crowd-fund-analysis
env:
ECR_REGISTRY: ${{ steps.login-ecr.outputs.registry }}
ECR_REPOSITORY: v2-api
IMAGE_TAG: ${{ github.sha }}
run: |
cd dodao-ai-agents/crowd-fund-analysis
aws sts get-caller-identity
docker build -t $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG .
docker push $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG
Expand Down

0 comments on commit 8ed44bb

Please sign in to comment.