Skip to content

Commit ecc4730

Browse files
committed
multiline body
1 parent ecc7e8c commit ecc4730

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/build_config_server.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,10 @@ jobs:
5151

5252
- name: Post PR comment with image info
5353
if: ${{ github.event_name == 'pull_request' }}
54-
run: gh pr comment $PR_NUMBER --edit-last --create-if-none --body "To run the Spring Cloud Config Server image built for this pull request:\n\`\`\`bash\ndocker run --rm -d --pull=always -p 8888:8888 --name config-pr $REGISTRY/$IMAGE_NAME:pr-$PR_NUMBER\n\`\`\`"
54+
run: gh pr comment $PR_NUMBER --edit-last --create-if-none --body "To run the Spring Cloud Config Server image built for this pull request:
55+
\`\`\`bash
56+
docker run --rm -d --pull=always -p 8888:8888 --name config-pr $REGISTRY/$IMAGE_NAME:pr-$PR_NUMBER
57+
\`\`\`"
5558
shell: bash
5659
env:
5760
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)