Merge pull request '增加Salon准备部署参数输出' (#29) from dev into sit
Reviewed-on: http://wcy111.top:3000/xiaowang/JayuCloud/pulls/29
This commit was merged in pull request #29.
This commit is contained in:
@@ -54,3 +54,21 @@ jobs:
|
|||||||
path: artifacts/release/*
|
path: artifacts/release/*
|
||||||
if-no-files-found: error
|
if-no-files-found: error
|
||||||
retention-days: 30
|
retention-days: 30
|
||||||
|
- name: 输出部署参数
|
||||||
|
shell: bash
|
||||||
|
env:
|
||||||
|
RELEASE_SHA: ${{ github.event.pull_request.merge_commit_sha }}
|
||||||
|
run: |
|
||||||
|
{
|
||||||
|
echo "## Salon 生产部署参数"
|
||||||
|
echo ""
|
||||||
|
echo "**prepare_run_id**: \`${{ github.run_id }}\`"
|
||||||
|
echo ""
|
||||||
|
echo "**release_sha**: \`$RELEASE_SHA\`"
|
||||||
|
echo ""
|
||||||
|
echo "**Artifact**: \`salon-prod-$RELEASE_SHA\`"
|
||||||
|
} >> "$GITHUB_STEP_SUMMARY"
|
||||||
|
|
||||||
|
echo "prepare_run_id=${{ github.run_id }}"
|
||||||
|
echo "release_sha=$RELEASE_SHA"
|
||||||
|
echo "artifact_name=salon-prod-$RELEASE_SHA"
|
||||||
|
|||||||
Reference in New Issue
Block a user