Skip to content

Commit dce38be

Browse files
committed
env
1 parent 460d0c7 commit dce38be

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/cd.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,8 @@ jobs:
9898
script: |
9999
cd ${{ matrix.target_path }}
100100
echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u ${{ github.actor }} --password-stdin
101-
echo "${{ secrets.PROD_FULL_ENV_FILE }}" > .env
101+
envstr='${{ secrets.PROD_ENV_FILE }}'
102+
echo -e $envstr > .env
102103
docker compose -f ${{ matrix.compose_file }} pull
103104
docker compose -f ${{ matrix.compose_file }} down
104105
docker compose -f ${{ matrix.compose_file }} up -d

0 commit comments

Comments
 (0)