Skip to content

Commit b8d7ace

Browse files
authored
Merge branch 'main' into repl-legacy-compat
2 parents 9fb6a22 + 920f817 commit b8d7ace

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

60 files changed

+2209
-1988
lines changed

.github/workflows/docs-preview-create.yml

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,10 @@ on:
1919
description: 'Branch (eg. my-feature-branch)'
2020
required: true
2121
type: string
22+
sha:
23+
description: 'The commit SHA responsible for triggering this workflow'
24+
required: false
25+
type: string
2226

2327
permissions:
2428
contents: write
@@ -62,9 +66,11 @@ jobs:
6266
6367
- name: Push
6468
id: push
65-
run: git add -A && git commit -m "sync docs" && git push -u origin ${{ env.BRANCH }} --force
69+
continue-on-error: true
70+
run: git add -A && git commit -m "sync docs for repo ${{ inputs.repo }}, pr ${{ inputs.pr }}, commit ${{ inputs.sha }}" && git push -u origin ${{ env.BRANCH }} --force
6671

6772
- name: Request preview comment
73+
if: ${{ steps.push.outcome == 'success' }}
6874
uses: peter-evans/repository-dispatch@v3
6975
with:
7076
event-type: 'request-preview-comment'
@@ -73,3 +79,15 @@ jobs:
7379
"repo": "${{ inputs.repo }}",
7480
"pr": "${{ inputs.pr }}"
7581
}
82+
83+
- name: Dispatch docs-unaffected
84+
if: ${{ steps.push.outcome != 'success' }}
85+
uses: peter-evans/repository-dispatch@v3
86+
with:
87+
event-type: 'docs-unaffected'
88+
client-payload: |-
89+
{
90+
"repo": "${{ inputs.repo }}",
91+
"pr": "${{ inputs.pr }}",
92+
"sha": "${{ inputs.sha }}"
93+
}

apps/kit.svelte.dev/README.md

Lines changed: 0 additions & 1 deletion
This file was deleted.

apps/kit.svelte.dev/vercel.json

Lines changed: 0 additions & 38 deletions
This file was deleted.

apps/learn.svelte.dev/README.md

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)