File tree Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change 77GITHUB_TOKEN = os .environ ['GITHUB_TOKEN' ]
88REPOSITORY = os .environ ['REPOSITORY' ]
99PULL_REQUEST_NUMBER = os .environ ['PULL_REQUEST_NUMBER' ]
10+ REF = os .environ ['REF' ]
1011
1112m = re .search (r'https://(\S+)\.workers\.dev' , DEPLOY_OUTPUT )
1213assert m , f'Could not find worker URL in { DEPLOY_OUTPUT !r} '
4243
4344<table>
4445<tr>
46+ <td><strong>commit:</strong></td>
47+ <td><code>{ REF :.7} </code></td>
48+ </tr>
49+ <tr>
4550<td><strong>Preview URL:</strong></td>
4651<td><a href="{ preview_url } ">{ preview_url } </a></td>
4752</tr>
Original file line number Diff line number Diff line change 9494 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
9595 REPOSITORY : ${{ github.repository }}
9696 PULL_REQUEST_NUMBER : ${{ github.event.workflow_run.pull_requests[0].number }}
97+ REF : ${{ github.event.workflow_run.head_sha }}
You can’t perform that action at this time.
0 commit comments