Skip to content

Commit 429d71e

Browse files
committed
Remove extra newline
1 parent 904a9b0 commit 429d71e

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

.github/workflows/preview-build.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,6 @@ jobs:
5353
if: github.event_name == 'push' || steps.check-files.outputs.any_changed == 'true'
5454
uses: actions/checkout@v4
5555
with:
56-
repository: '${{ github.event.pull_request.head.repo.full_name || github.repository }}'
5756
ref: ${{ github.event.pull_request.head.sha || github.ref }}
5857
persist-credentials: false
5958

@@ -148,7 +147,7 @@ jobs:
148147
--paths "${PATH_PREFIX}" "${PATH_PREFIX}/*"
149148
150149
- name: Update Link Index
151-
if: steps.s3-upload.outcome == 'success'
150+
if: github.event_name == 'push' && github.ref == 'refs/heads/main' && steps.s3-upload.outcome == 'success'
152151
uses: elastic/docs-builder/actions/update-link-index@main
153152

154153
- name: Update deployment status

src/Elastic.Markdown/Slices/_ViewModels.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,6 @@ public class PageTocItem
7373
{
7474
public required string Heading { get; init; }
7575
public required string Slug { get; init; }
76-
7776
public required int Level { get; init; }
7877
}
7978

0 commit comments

Comments
 (0)