Skip to content

Commit

Permalink
using redis now
Browse files Browse the repository at this point in the history
  • Loading branch information
aaron-wu1 committed Jul 12, 2024
1 parent 04ddb92 commit 8c57891
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/deploy_dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -137,17 +137,18 @@ jobs:
--build-arg GOOGLE_CLIENT_SECRET="${{ secrets.GOOGLE_CLIENT_SECRET }}" \
--build-arg CLIENT_URL="${{ secrets.CLIENT_URL }}" \
--build-arg OAUTH_REDIRECT_URI="${{ secrets.OAUTH_REDIRECT_URI }}" \
--build-arg CELERY_RESULT_BACKEND="${{ secrets.CELERY_RESULT_BACKEND }}" \
--build-arg CELERY_BROKER_URL="${{ secrets.CELERY_BROKER_URL }}" \
--build-arg `="${{ secrets.CELERY_RESULT_BACKEND }}" \
--build-arg AWS_SQS_URL="${{ secrets.AWS_SQS_URL }}" \
--build-arg MESSAGE_BROKER="aws_sqs" \
--build-arg MESSAGE_BROKER="redis" \
--target production \
-t $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG .
docker push $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG
echo "::set-output name=image::$ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG"
- name: Fill in the new image ID in the Amazon ECS task definition
id: task-def
uses: aws-actions/amazon-ecs-render-task-definition@v1
uses: aws-actions/amazon-ecs-render-task-definition@v`
with:
task-definition: aws-task-definition.json
container-name: ${{ env.AWS_ECR_REPOSITORY_NAME }}
Expand Down Expand Up @@ -218,8 +219,9 @@ jobs:
--build-arg CLIENT_URL="${{ secrets.CLIENT_URL }}" \
--build-arg OAUTH_REDIRECT_URI="${{ secrets.OAUTH_REDIRECT_URI }}" \
--build-arg AWS_SQS_URL="${{ secrets.AWS_SQS_URL }}" \
--build-arg CELERY_BROKER_URL="${{ secrets.CELERY_BROKER_URL }}" \
--build-arg CELERY_RESULT_BACKEND="${{ secrets.CELERY_RESULT_BACKEND }}" \
--build-arg MESSAGE_BROKER="aws_sqs" \
--build-arg MESSAGE_BROKER="redis" \
--target prodworker \
-t $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG .
docker push $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG
Expand Down

0 comments on commit 8c57891

Please sign in to comment.