From 419045f903ca4b4848a3e72fed94688be91d7da5 Mon Sep 17 00:00:00 2001 From: Gabriel Luiz Freitas Almeida Date: Sat, 23 Sep 2023 23:35:37 -0300 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A7=20chore(ci.yml):=20add=20step=20to?= =?UTF-8?q?=20create=20.env=20file=20from=20secrets.ENV=5FFILE=20to=20prov?= =?UTF-8?q?ide=20environment=20variables=20for=20the=20build=20and=20start?= =?UTF-8?q?=20services=20step?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/ci.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 017f57efe..2f6a563e0 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -29,7 +29,12 @@ jobs: - name: Set up Docker run: docker --version && docker-compose --version + - name: "Create env file" + run: | + echo "${{ secrets.ENV_FILE }}" > .env + - name: Build and start services + working-directory: ./deploy run: docker compose up --exit-code-from tests tests queue celeryworker db continue-on-error: true