Skip to content

Remove branch ref

Remove branch ref #15

trigger:
tags:
include:
- '*'
pr: none
pool:
vmImage: 'ubuntu-latest'
variables:
artifactVersion: $[replace(variables['Build.SourceBranch'], 'refs/tags/', '')]
resources:
repositories:
- repository: cnp-azuredevops-libraries
type: github
ref: refs/heads/azure-artifact-stage
name: hmcts/cnp-azuredevops-libraries
endpoint: 'hmcts'
jobs:
- job: PublishToAzureArtifacts

Check failure on line 23 in .github/workflows/publish_artifact.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/publish_artifact.yml

Invalid workflow file

You have an error in your yaml syntax on line 23
displayName: 'Publish to Azure Artifacts'
steps:
- template: steps/publish-ado-artifact.yaml@cnp-azuredevops-libraries