0
0
mirror of https://github.com/sp-tarkov/build.git synced 2025-02-12 17:30:44 -05:00
build/.drone.yml
Refringe f0f5c03787
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.
2024-02-27 23:27:50 -05:00

42 lines
728 B
YAML

kind: pipeline
type: docker
name: build
platform:
os: windows
arch: amd64
trigger:
branch:
- main
clone:
disable: true
steps:
- name: clone
image: refringe/spt-build-environment:1.0.0
commands:
- 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
image: refringe/spt-build-environment:1.0.0
environment:
MODULE_DOMAIN:
from_secret: MODULE_DOMAIN
commands:
- cd C:\Code
- pwsh -File C:\Code\project\build.ps1 -Tag "${DRONE_TAG}"
volumes:
- name: code
path: C:\Code
volumes:
- name: code
temp: {}