Skip to content

Commit c71f0f9

Browse files
committed
fix
1 parent 3a6cc3a commit c71f0f9

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

.github/workflows/deploy.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,26 @@ jobs:
5353
echo ::set-output name=NEW_RELEASE::$(echo "refs/heads/v2.3.6" | grep -ciP "refs/heads/v\K[0-9]+\.[0-9]+\.[0-9]+")
5454
echo ${{ steps.get_version_tag.outputs.SOURCE_TAG }}
5555
56+
- name: Publish/Deploy to Maven Central
57+
if: ${{ steps.new_release.outputs.NEW_RELEASE == 1}}
58+
env:
59+
SIGNING_KEY: ${{ secrets.SIGNING_KEY }}
60+
SIGNING_PASSWORD: ${{ secrets.SIGNING_PASSWORD }}
61+
SIGNING_PASSPHRASE: ${{ secrets.SIGNING_PASSPHRASE }}
62+
CI_DEPLOY_USERNAME: ${{ secrets.CI_DEPLOY_USERNAME }}
63+
CI_DEPLOY_PASSWORD: ${{ secrets.CI_DEPLOY_PASSWORD }}
64+
run: scripts/deploy_gha.sh
65+
66+
- name: Publish/Deploy to Git
67+
if: ${{ steps.new_release.outputs.NEW_RELEASE == 1}}
68+
uses: marvinpinto/action-automatic-releases@latest
69+
with:
70+
repo_token: ${{ secrets.GH_TOKEN }}
71+
automatic_release_tag: ${{ steps.get_version_tag.outputs.SOURCE_TAG }}
72+
prerelease: false
73+
draft: false
74+
files: build/libs/watson-spring-boot-starter-${{ steps.get_version_tag.outputs.SOURCE_TAG }}-jar-with-dependencies.jar
75+
5676
- name: SKIP - Publish/Deploy to Git and Maven Central
5777
if: ${{ steps.new_release.outputs.NEW_RELEASE == 1}}
5878
run: |

0 commit comments

Comments
 (0)