Skip to content

Commit

Permalink
updated deploy.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
mizanmahi committed Sep 26, 2024
1 parent 35d5636 commit fdba80f
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,8 @@ jobs:
fi
# creating env file from secret
cd /homes/${{secrets.EC2_USER_NAME}}
cat <<EOF > .env
${{ secrets.APP_ENVS }}
EOF
cd /home/${{secrets.EC2_USER_NAME}}
echo "${{ secrets.APP_ENVS }}" > .env
cat .env
# Run the container
Expand Down

0 comments on commit fdba80f

Please sign in to comment.