From 9de72d0651244475b9e0bc2c63a9ba11e3da6ee1 Mon Sep 17 00:00:00 2001 From: cleverson Date: Tue, 9 Apr 2024 11:09:55 -0300 Subject: [PATCH] adicionando o script de deploy diretamento no ci --- .github/workflows/ci.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 239a1ea..e5e4996 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -22,4 +22,7 @@ jobs: TARGET: ${{ secrets.TARGET }} EXCLUDE: ".env, /test/, .gitignore, README.md" SCRIPT_AFTER: | - make deploy + cd /var/www/${{ secrets.TARGET }} + docker-compose down + docker-compose pull + docker-compose up -d