File tree 1 file changed +14
-0
lines changed
1 file changed +14
-0
lines changed Original file line number Diff line number Diff line change 48
48
runs-on : ubuntu-latest
49
49
if : github.event.workflow_run.conclusion == 'success'
50
50
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
+
51
57
- name : Checkout repository
52
58
uses : actions/checkout@v4
53
59
71
77
publish_dir : public/${{ steps.get-pr-number.outputs.pr_number }}
72
78
destination_dir : ${{ steps.get-pr-number.outputs.pr_number }}
73
79
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 }}
You can’t perform that action at this time.
0 commit comments