Skip to content

Commit

Permalink
🚚 cd: correct secrects env file name
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnPetros committed Jun 27, 2024
1 parent a59e662 commit 0b09b8b
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 @@ -30,6 +30,6 @@ jobs:
key: ${{ secrets.SERVER_KEY }}
script: |
cd ~/smart-farming-scp
env_file_string=$(echo $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 0b09b8b

Please sign in to comment.