diff --git a/.github/workflows/deploy.yaml b/.github/workflows/deploy.yaml index 1e13590..815ba71 100644 --- a/.github/workflows/deploy.yaml +++ b/.github/workflows/deploy.yaml @@ -115,8 +115,10 @@ jobs: shell: bash - name: Insert secrets if: steps.check.outputs.should_deploy == 'true' + env: + WAHLRECHT_MONGODB_CONNECTION_STRING: ${{ secrets.WAHLRECHT_MONGODB_CONNECTION_STRING }} run: | - sed -i "s||${{ secrets.WAHLRECHT_MONGODB_CONNECTION_STRING }}|g" docker/${{ matrix.env }}/stack-config/wahlrecht.yaml + sed -i "s||$WAHLRECHT_MONGODB_CONNECTION_STRING|g" docker/${{ matrix.env }}/stack-config/wahlrecht.yaml - name: Copy files to remote if: steps.check.outputs.should_deploy == 'true' uses: burnett01/rsync-deployments@7.0.2