Skip to content

Commit ce1339e

Browse files
committed
test: test deployment
1 parent 85fa76f commit ce1339e

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/cd.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -53,13 +53,13 @@ jobs:
5353
SIGNING_KEY: ${{ secrets.SIGNING_KEY }}
5454
PASSPHRASE: ${{ secrets.PASSPHRASE }}
5555
- name: Publish GitHub Pages
56-
run: ./gradlew --info -Dbuild.version="${{ steps.vars.outputs.tag }}" mkdocsPublish
56+
run: ./gradlew --info -Dbuild.version="10.0.6" mkdocsPublish
5757
- name: status
58-
run: echo Build is tagged. Uploading artifact ${{ steps.vars.outputs.tag }} to maven central.
58+
run: echo Build is tagged. Uploading artifact 10.0.6 to maven central.
5959
- name: deploy to sonatype and publish to maven central
60-
run: ./gradlew -Pversion=$REF_NAME setLibraryVersion -Dbuild.version="${{ steps.vars.outputs.tag }}" clean publishToSonatype closeAndReleaseSonatypeStagingRepository
60+
run: ./gradlew -Pversion=$REF_NAME setLibraryVersion -Dbuild.version="10.0.6" clean publishToSonatype closeAndReleaseSonatypeStagingRepository
6161
env:
62-
GITHUB_TAG: ${{ steps.vars.outputs.tag }}
62+
GITHUB_TAG: 10.0.6
6363
MAVEN_USERNAME: ${{ secrets.MAVEN_USERNAME }}
6464
MAVEN_PASSWORD: ${{ secrets.MAVEN_PASSWORD }}
6565
- name: Slack notification
@@ -70,4 +70,4 @@ jobs:
7070
SLACK_CHANNEL: java-sync
7171
uses: Ilshidur/action-slack@master
7272
with:
73-
args: 'Version: <https://github.com/commercetools/commercetools-sync-java/releases/tag/${{ steps.vars.outputs.tag }}|${{ steps.vars.outputs.tag }}> of the library has been published to the <https://repo1.maven.org/maven2/com/commercetools/commercetools-sync-java/|Maven Central>.'
73+
args: 'Version: <https://github.com/commercetools/commercetools-sync-java/releases/tag/10.0.6|10.0.6> of the library has been published to the <https://repo1.maven.org/maven2/com/commercetools/commercetools-sync-java/|Maven Central>.'

0 commit comments

Comments
 (0)