From a25012c4d9875024b9a8c7c017887338a9246cd7 Mon Sep 17 00:00:00 2001 From: fenix-gitea-admin Date: Thu, 28 Aug 2025 21:01:47 +0000 Subject: [PATCH] testando o [deploy-opentofu] --- .gitea/workflows/ci-test.yaml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.gitea/workflows/ci-test.yaml b/.gitea/workflows/ci-test.yaml index 17d9af4..b21ab6f 100644 --- a/.gitea/workflows/ci-test.yaml +++ b/.gitea/workflows/ci-test.yaml @@ -17,6 +17,17 @@ jobs: BW_PASSWORD: ${{ secrets.BW_PASSWORD }} steps: + + - name: Verificar se commit pede por [deploy-opentofu] + if: "!contains(gitea.event.head_commit.message, '[deploy-opentofu]')" + run: | + echo "Commit não contém [deploy-opentofu], a pipeline será ignorada." + exit 1 + + - name: Executar deploy opentofu + run: echo "Commit contém [deploy-opentofu], a pipeline será executada." + + - name: Updating apt-get run: | apt-get update -y