From 3f5b97afad2c07d2cd63896958174e466486ca88 Mon Sep 17 00:00:00 2001 From: Augusto <49859508+augustocristian@users.noreply.github.com> Date: Tue, 23 Jan 2024 16:40:23 +0100 Subject: [PATCH] Adding the .env to the release.yml --- .github/workflows/release.yml | 1 + README.md | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 594290b8..55abebda 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -123,5 +123,6 @@ jobs: key: ${{ secrets.DEPLOY_KEY }} command: | wget https://raw.githubusercontent.com/arquisoft/wiq_es05c/master/docker-compose.yml + wget https://raw.githubusercontent.com/arquisoft/wiq_es05c/master/.env docker compose down docker compose --profile prod up -d diff --git a/README.md b/README.md index 5cc77883..64b87262 100644 --- a/README.md +++ b/README.md @@ -101,7 +101,8 @@ deploy: key: ${{ secrets.DEPLOY_KEY }} command: | wget https://raw.githubusercontent.com/arquisoft/wiq_es05c/master/docker-compose-deploy.yml -O docker-compose.yml - docker compose down --volumes + wget https://raw.githubusercontent.com/arquisoft/wiq_es05c/master/.env + docker compose down docker compose --profile prod up -d ```