diff --git a/.github/workflows/cicd.yaml b/.github/workflows/cicd.yaml index 43482d6..1de4ecb 100644 --- a/.github/workflows/cicd.yaml +++ b/.github/workflows/cicd.yaml @@ -9,7 +9,7 @@ jobs: deploy: if: github.event.pull_request.merged == true env: - ENV_PATH: .env + ENV_PATH: ./src/main/resources/.env runs-on: ubuntu-latest steps: - name: Checkout branch diff --git a/appspec.yml b/appspec.yml index 674cb27..7300dc0 100644 --- a/appspec.yml +++ b/appspec.yml @@ -4,9 +4,6 @@ files: - source: / destination: /home/ubuntu overwrite: true - - source: /.env - destination: /home/ubuntu/src/main/resources - overwrite: true file_exists_behavior: OVERWRITE