Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit9e9fa14

Browse files
committed
Attach status check to the triggering commit
1 parentaeeac92 commit9e9fa14

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

‎.github/workflows/deploy-prod.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,12 @@ jobs:
4848
runs-on:ubuntu-latest
4949
if:github.event.workflow_run.conclusion == 'success'
5050
steps:
51+
-name:Set commit status as pending
52+
uses:myrotvorets/set-commit-status-action@v2.0.1
53+
with:
54+
sha:${{ github.event.workflow_run.head_sha }}
55+
token:${{ github.token }}
56+
5157
-name:Checkout repository
5258
uses:actions/checkout@v4
5359

@@ -71,3 +77,11 @@ jobs:
7177
publish_dir:public/${{ steps.get-pr-number.outputs.pr_number }}
7278
destination_dir:${{ steps.get-pr-number.outputs.pr_number }}
7379
full_commit_message:"Preview for ${{ steps.get-pr-number.outputs.pr_number != 'main' && '#' || '' }}${{ steps.get-pr-number.outputs.pr_number }} (${{ github.event.workflow_run.head_sha }}) at https://gh.cp-algorithms.com/${{ steps.get-pr-number.outputs.pr_number }}/"
80+
81+
-name:Set final commit status
82+
uses:myrotvorets/set-commit-status-action@v2.0.1
83+
if:always()
84+
with:
85+
sha:${{ github.event.workflow_run.head_sha }}
86+
token:${{ github.token }}
87+
status:${{ job.status }}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp