diff --git a/.gitea/workflows/deploy_call.yaml b/.gitea/workflows/deploy_call.yaml index 47f1575..54c3b3c 100644 --- a/.gitea/workflows/deploy_call.yaml +++ b/.gitea/workflows/deploy_call.yaml @@ -16,15 +16,27 @@ jobs: build-and-release: runs-on: ubuntu-latest steps: - - name: Clone repository with submodules + - name: Clone main repository run: | git config --global --remove-section http || true git config --global --unset-all core.askPass || true TOKEN="${{ secrets.BUILD_TOKEN }}" - git clone --recurse-submodules \ - -c credential.helper="" \ + git clone -c credential.helper="" \ https://token:$TOKEN@git.datadunia.com/nexusguard/Nexus-Guard-Suite.git . + - name: Clone submodules + run: | + TOKEN="${{ secrets.BUILD_TOKEN }}" + # Server Core + git clone -c credential.helper="" \ + https://token:$TOKEN@git.datadunia.com/nexusguard/nexus-server-core.git apps/server-core + # Device Agent + git clone -c credential.helper="" \ + https://token:$TOKEN@git.datadunia.com/nexusguard/nexus-device-agent.git apps/device-agent + # Dashboard UI + git clone -c credential.helper="" \ + https://token:$TOKEN@git.datadunia.com/nexusguard/nexus-dashboard-ui.git apps/dashboard-ui + - name: Setup Go uses: actions/setup-go@v5 with: