From 132e8fec5fa726b02f173cb417d093e0a1714747 Mon Sep 17 00:00:00 2001 From: Igor Santos Date: Thu, 7 Nov 2024 14:06:36 -0300 Subject: [PATCH] fix(ci/cd): Add submodules download to use monitoring files in setup instances --- .github/workflows/terraform-stage.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/terraform-stage.yml b/.github/workflows/terraform-stage.yml index 61fe33c..810c8db 100644 --- a/.github/workflows/terraform-stage.yml +++ b/.github/workflows/terraform-stage.yml @@ -21,6 +21,10 @@ jobs: # Confira o repositório para o GitHub Actions runner - name: Checkout uses: actions/checkout@v3 + with: + submodules: true # Clona os submódulos junto com o repositório principal + fetch-depth: 0 # Garante que o histórico completo seja baixado, necessário para alguns submódulos + token: ${{ secrets.GITHUB_TOKEN }} # Usa o token para acessar submódulos privados - name: Setup SSH key env: