diff --git a/.github/workflows/deploy-to-ec2.yml b/.github/workflows/deploy-to-ec2.yml index 0154fdc6..7a31f586 100644 --- a/.github/workflows/deploy-to-ec2.yml +++ b/.github/workflows/deploy-to-ec2.yml @@ -53,6 +53,6 @@ jobs: docker run -d -p ${{vars.PORT}}:8080 \ --name ${{ github.event.repository.name }}-${{vars.ENV}} \ --network=${{vars.DOCKER_NETWORK}} \ - -e RDS_PUBLIC_KEY="${RDS_PUBLIC_KEY}" \ + -e RDS_PUBLIC_KEY="$RDS_PUBLIC_KEY" \ -e API_V1_PREFIX=/api/v1 \ ${{ secrets.DOCKERHUB_USERNAME }}/${{ github.event.repository.name }}