Skip to content

Commit

Permalink
🚚 cd: test env file
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnPetros committed Jun 27, 2024
1 parent 4691ba3 commit 9b6eaa9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/cd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ jobs:
key: ${{ secrets.SERVER_KEY }}
script: |
cd ~/smart-farming-scp
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 9b6eaa9

Please sign in to comment.