File tree 1 file changed +16
-0
lines changed
1 file changed +16
-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
+ description : ${{ job.status }}
57
+
51
58
- name : Checkout repository
52
59
uses : actions/checkout@v4
53
60
71
78
publish_dir : public/${{ steps.get-pr-number.outputs.pr_number }}
72
79
destination_dir : ${{ steps.get-pr-number.outputs.pr_number }}
73
80
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 }}/"
81
+
82
+ - name : Set final commit status
83
+ uses : myrotvorets/set-commit-status-action@v2.0.1
84
+ if : always()
85
+ with :
86
+ sha : ${{ github.event.workflow_run.head_sha }}
87
+ token : ${{ github.token }}
88
+ status : ${{ job.status }}
89
+ description : ${{ job.status }}
You can’t perform that action at this time.
0 commit comments