From da1426ceb2af681cd58d61ff98754f2c2647da32 Mon Sep 17 00:00:00 2001 From: Kenneth Lippold Date: Tue, 27 Feb 2024 12:14:11 -0700 Subject: [PATCH] Update aws_deploy_hydroserver.yml --- .github/workflows/aws_deploy_hydroserver.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/aws_deploy_hydroserver.yml b/.github/workflows/aws_deploy_hydroserver.yml index 2fac567..5170ce0 100644 --- a/.github/workflows/aws_deploy_hydroserver.yml +++ b/.github/workflows/aws_deploy_hydroserver.yml @@ -40,7 +40,7 @@ jobs: - name: Upload Deployment Package to S3 working-directory: ./backend - run: aws s3 cp deploy_package.zip s3://hydroserver-${{ github.event.inputs.environment }}-backend/deploy_package_${{ github.event.inputs.hydroserver-version || steps.get_latest_tag.outputs.tag }}.zip + run: aws s3 cp deploy_package.zip s3://hydroserver-${{ github.event.inputs.environment }}-django/deploy_package_${{ github.event.inputs.hydroserver-version || steps.get_latest_tag.outputs.tag }}.zip - name: Configure Environment Variables working-directory: ./backend @@ -135,7 +135,7 @@ jobs: run: | aws elasticbeanstalk create-application-version \ --application-name hydroserver-${{ github.event.inputs.environment }} \ - --source-bundle S3Bucket="hydroserver-${{ github.event.inputs.environment }}-backend",S3Key="deploy_package_${{ github.event.inputs.hydroserver-version || steps.get_latest_tag.outputs.tag }}.zip" \ + --source-bundle S3Bucket="hydroserver-${{ github.event.inputs.environment }}-django",S3Key="deploy_package_${{ github.event.inputs.hydroserver-version || steps.get_latest_tag.outputs.tag }}.zip" \ --version-label "${{ github.event.inputs.hydroserver-version || steps.get_latest_tag.outputs.tag }}" \ --description "HydroServer Version ${{ github.event.inputs.hydroserver-version || steps.get_latest_tag.outputs.tag }}" \ --auto-create-application