diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index faf703b..a870a95 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -51,10 +51,8 @@ jobs: fi # creating env file from secret - cd /homes/${{secrets.EC2_USER_NAME}} - cat < .env - ${{ secrets.APP_ENVS }} - EOF + cd /home/${{secrets.EC2_USER_NAME}} + echo "${{ secrets.APP_ENVS }}" > .env cat .env # Run the container