Skip to content
This repository was archived by the owner on May 30, 2024. It is now read-only.

Commit f25f5c9

Browse files
author
noah
committed
fix: add description when the action deploys
1 parent e6b2bae commit f25f5c9

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/deploy-to-cloud.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ jobs:
2020
deployment_id: ${{ github.event.deployment.id }}
2121
state: "success"
2222
token: "${{ github.token }}"
23+
description: Success to deploy ${GITHUB_REF} successfully.
2324

2425
deploy-dev:
2526
runs-on: ubuntu-latest
@@ -40,6 +41,7 @@ jobs:
4041
uses: chrnorm/deployment-status@releases/v1
4142
with:
4243
deployment_id: ${{ github.event.deployment.id }}
44+
description: Start to deploy to the Kubernetes
4345
state: "in_progress"
4446
token: "${{ github.token }}"
4547
-
@@ -63,6 +65,7 @@ jobs:
6365
uses: chrnorm/deployment-status@releases/v1
6466
with:
6567
deployment_id: ${{ github.event.deployment.id }}
68+
description: Success to deploy ${GITHUB_REF} successfully.
6669
state: "success"
6770
token: "${{ github.token }}"
6871
-
@@ -71,6 +74,7 @@ jobs:
7174
uses: chrnorm/deployment-status@releases/v1
7275
with:
7376
deployment_id: ${{ github.event.deployment.id }}
77+
description: Failed to deploy ${GITHUB_REF}.
7478
state: "failure"
7579
token: "${{ github.token }}"
7680

0 commit comments

Comments
 (0)