From a1ef0b54b557210527a0f61ff25b9f374c5cf74d Mon Sep 17 00:00:00 2001 From: Augusto <49859508+augustocristian@users.noreply.github.com> Date: Tue, 23 Jan 2024 17:25:55 +0100 Subject: [PATCH] Adding -O to overwrite existing files --- .github/workflows/release.yml | 4 ++-- README.md | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index c93e574..60f9109 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -122,7 +122,7 @@ jobs: user: ${{ secrets.DEPLOY_USER }} key: ${{ secrets.DEPLOY_KEY }} command: | - wget https://raw.githubusercontent.com/arquisoft/wiq_es05a/master/docker-compose.yml - wget https://raw.githubusercontent.com/arquisoft/wiq_es05a/master/.env + wget https://raw.githubusercontent.com/arquisoft/wiq_es05a/master/docker-compose.yml -O docker-compose.yml + wget https://raw.githubusercontent.com/arquisoft/wiq_es05a/master/.env -O .env docker compose down docker compose --profile prod up -d diff --git a/README.md b/README.md index 70dce75..b585d49 100644 --- a/README.md +++ b/README.md @@ -101,7 +101,7 @@ deploy: key: ${{ secrets.DEPLOY_KEY }} command: | wget https://raw.githubusercontent.com/arquisoft/wiq_es05a/master/docker-compose.yml -O docker-compose.yml - wget https://raw.githubusercontent.com/arquisoft/wiq_es05a/master/docker-compose.env + wget https://raw.githubusercontent.com/arquisoft/wiq_es05a/master/.env -O .env docker compose down --volumes docker compose --profile prod up -d ```