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

Updates Drone Pipeline

- Updates the drone pipeline to actually work. Sorry about the update spam in Discord. >:{}
- Updates the build script to exit gracefully when complete.
This commit is contained in:
Refringe 2024-02-27 23:27:50 -05:00
parent 73dad7e3be
commit f0f5c03787
No known key found for this signature in database
GPG Key ID: DA8524051241DD36
2 changed files with 41 additions and 32 deletions

View File

@ -7,22 +7,31 @@ platform:
arch: amd64 arch: amd64
trigger: trigger:
event: branch:
- tag - main
clone:
disable: true
steps: steps:
- name: clone-build-project - name: clone
image: alpine/git image: refringe/spt-build-environment:1.0.0
commands: commands:
- git clone https://dev.sp-tarkov.com/SPT-AKI/Build.git C:\Code - git clone https://dev.sp-tarkov.com/SPT-AKI/Build.git C:\Code
- cd C:\Code
- git checkout ${DRONE_COMMIT}
volumes:
- name: code
path: C:\Code
- name: build-spt-release - name: build
image: spt-build-environment:latest image: refringe/spt-build-environment:1.0.0
environment: environment:
MODULE_DOMAIN: MODULE_DOMAIN:
from_secret: module_domain from_secret: MODULE_DOMAIN
commands: commands:
- 'pwsh -File C:\Code\project\build.ps1 -Tag "${DRONE_TAG}"' - cd C:\Code
- pwsh -File C:\Code\project\build.ps1 -Tag "${DRONE_TAG}"
volumes: volumes:
- name: code - name: code
path: C:\Code path: C:\Code

Binary file not shown.