fitlien-services/fitlien-services-pipeline.yaml
2025-03-15 08:57:34 +05:30

31 lines
834 B
YAML

trigger:
- main
pool:
vmImage: "ubuntu-latest"
variables:
major: $(VERSION_MAJOR)
minor: $(VERSION_MINOR)
prefix: $[format('{0}.{1}', variables['major'], variables['minor'])]
patch: $[counter(variables['prefix'], 100)]
buildNumber: $(major).$(minor).$(patch)
resources:
repositories:
- repository: templateRepo
endpoint: cosq-network
type: github
name: cosq-network/azure-build-pipeline-templates
extends:
template: firebase-functions-deploy.yaml@templateRepo
parameters:
nodeVersion: "20"
firebaseTokenSecret: $(FIREBASE_TOKEN)
functionsWorkingDirectory: "$(Build.SourcesDirectory)/functions"
envExamplePath: "$(Build.SourcesDirectory)/functions/.env.example"
envPath: "$(Build.SourcesDirectory)/functions/.env"
buildNumber: $(buildNumber)
buildType: release