0
0
mirror of https://github.com/sp-tarkov/build.git synced 2025-02-12 17:10:45 -05:00

Adds auth to Build clone

This commit is contained in:
Refringe 2024-03-29 13:02:56 -04:00
parent f57f40e016
commit 8e59f500f5
Signed by: Refringe
GPG Key ID: 7715B85B4A6306ED

View File

@ -46,7 +46,7 @@ jobs:
if: steps.determine-context.outputs.is_nightly == 'false'
run: |
rm -rf /workspace/SPT-AKI/Build/trigger
if ! git clone https://dev.sp-tarkov.com/SPT-AKI/Build.git --branch "trigger" --depth 1 /workspace/SPT-AKI/Build/trigger; then
if ! git clone https://${{ secrets.BUILD_USERNAME }}:${{ secrets.BUILD_ACCESS_TOKEN }}@dev.sp-tarkov.com/SPT-AKI/Build.git --branch "trigger" --depth 1 /workspace/SPT-AKI/Build/trigger; then
echo "Failed to clone the trigger branch. The branch may not exist."
echo "The trigger branch is critical to this workflow."
exit 1