Skip to content

Commit

Permalink
Use github.ref_name when deploying snapshots
Browse files Browse the repository at this point in the history
  • Loading branch information
mhalbritter committed Oct 24, 2024
1 parent 76cfc57 commit 83a3212
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build-and-deploy-snapshot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
with:
artifact-properties: |
/**/spring-boot-docs-*.zip::zip.type=docs,zip.deployed=false
build-name: ${{ vars.COMMERCIAL && format('spring-boot-commercial-{0}', steps.build-and-publish.outputs.version) || format('spring-boot-{0}', steps.build-and-publish.outputs.version) }}
build-name: ${{ vars.COMMERCIAL && format('spring-boot-commercial-{0}', github.ref_name) || format('spring-boot-{0}', github.ref_name) }}
folder: 'deployment-repository'
password: ${{ vars.COMMERCIAL && secrets.COMMERCIAL_ARTIFACTORY_PASSWORD || secrets.ARTIFACTORY_PASSWORD }}
project: ${{ vars.COMMERCIAL && 'spring' }}
Expand Down

0 comments on commit 83a3212

Please sign in to comment.