Skip to content

Commit

Permalink
🚚 cd: add quotation marks around env file
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnPetros committed Jun 27, 2024
1 parent 9b6eaa9 commit 29a044a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/cd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,6 @@ jobs:
script: |
cd ~/smart-farming-scp
echo ${{ secrets.ENV_FILE }}
env_file_string=$(echo ${{ secrets.ENV_FILE }})
env_file_string=$(echo "${{ secrets.ENV_FILE }}")
echo $env_file_string | tr ' ' '\n' | sed 's/\([^=]\+\)=\([^ ]\+\)/\1=\2/' > ~/smart-farming-scp/.env
docker compose up -d

0 comments on commit 29a044a

Please sign in to comment.