Skip to content

Commit b8c2103

Browse files
committed
try: pr status
1 parent da5a196 commit b8c2103

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

.github/workflows/hugo.yaml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,11 @@ on:
77

88
# Run on PRs, but only build
99
pull_request:
10+
types:
11+
- opened
12+
- reopened
13+
- synchronize
14+
- closed
1015
# Allows to run this workflow manually from the Actions tab
1116
workflow_dispatch:
1217

@@ -37,6 +42,8 @@ jobs:
3742
build:
3843
runs-on: ubuntu-22.04
3944
steps:
45+
- run: echo "${{ github.event.pull_request }}"
46+
- run: echo "${{ github.pull_request }}"
4047
- uses: actions/checkout@v4
4148
with:
4249
submodules: recursive # Get submdules
@@ -142,4 +149,4 @@ jobs:
142149
message: |
143150
Pull Request Live Preview
144151
:---:
145-
| <p><br />:rocket: View preview at <br />https://${{ env.preview_subdomain }}.${{ env.domain }}/${{ env.preview_segment }}/<br /></p>
152+
| <p><br />:rocket: View preview at <br />https://${{ env.preview_subdomain }}.${{ env.domain }}/${{ env.preview_segment }}/<br /><br /></p>

0 commit comments

Comments
 (0)