ci: add GITEA_TOKEN for checkout authentication
Beta Release / deploy (push) Failing after 5m4s

This commit is contained in:
datadunia
2026-05-30 05:32:54 +07:00
parent 57cd09f297
commit 35b13bd449
+15 -3
View File
@@ -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: