Skip to content

Commit e0f95e7

Browse files
author
Siddhant Agarwal
committed
update github action to set custom status
1 parent fc40e7e commit e0f95e7

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

.github/workflows/dummy.yml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,13 @@ jobs:
77
runs-on: ubuntu-20.04
88
steps:
99
- name: Echo
10-
run: echo hi
10+
run: echo hi
11+
- name: Update status to pending
12+
uses: geekodour/[email protected]
13+
env:
14+
LAST_COMMIT_SHA: ${{ github.event.client_payload.LAST_COMMIT_SHA }}
15+
with:
16+
args: >-
17+
--state=success
18+
--context=deploy-preview
19+
--target_url=https://betasite.razorpay.com/docs/razorpay/$LAST_COMMIT_SHA

0 commit comments

Comments
 (0)