Skip to content

Commit 115479e

Browse files
committed
[Release 2.0.1] Fix deploy GA docs to Artifactory
Signed-off-by: onobc <[email protected]>
1 parent 3fb6348 commit 115479e

File tree

2 files changed

+10
-6
lines changed

2 files changed

+10
-6
lines changed

.github/workflows/ci.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,13 @@ jobs:
169169
if: ${{ steps.deploy-location.outputs.deploy_location == 'central' }}
170170
shell: bash
171171
run: |
172-
./gradlew -PdeploymentRepository=$(pwd)/deployment-repository :spring-pulsar-docs:publishAllPublicationsToDeploymentRepository
172+
./gradlew \
173+
-PdeploymentRepository=$(pwd)/deployment-repository \
174+
-PforceLocalPublish=true \
175+
:spring-pulsar-docs:publishAllPublicationsToDeploymentRepository \
176+
echo "deployRepo=$(pwd)/deployment-repository" >> $GITHUB_OUTPUT
177+
echo "ls -R $(pwd)/deployment-repository"
178+
ls -R $(pwd)/deployment-repository
173179
- name: Still publish docs module to Artifactory when deploy location is Central (publish)
174180
if: ${{ steps.deploy-location.outputs.deploy_location == 'central' }}
175181
uses: spring-io/artifactory-deploy-action@926d7f7cc810569395346bf3a4d91b380b3e355b # v0.0.4

.github/workflows/deploy-docs-adhoc.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -33,12 +33,10 @@ jobs:
3333
id: stage-spring-pulsar-docs
3434
shell: bash
3535
run: |
36-
sed -i "s/version=2.0.1-SNAPSHOT/version=2.0.0/g" gradle.properties
37-
cat gradle.properties
3836
./gradlew \
39-
-PdeploymentRepository=$(pwd)/deployment-repository \
40-
-PforceLocalPublish=true \
41-
:spring-pulsar-docs:publishAllPublicationsToDeploymentRepository
37+
-PdeploymentRepository=$(pwd)/deployment-repository \
38+
-PforceLocalPublish=true \
39+
:spring-pulsar-docs:publishAllPublicationsToDeploymentRepository
4240
echo "deployRepo=$(pwd)/deployment-repository" >> $GITHUB_OUTPUT
4341
echo "ls -R $(pwd)/deployment-repository"
4442
ls -R $(pwd)/deployment-repository

0 commit comments

Comments
 (0)