fix: ignore path prompt if user provided path in create
#12
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# https://github.com/sveltejs/svelte.dev/blob/main/apps/svelte.dev/scripts/sync-docs/README.md | |
name: Docs preview delete request | |
on: | |
pull_request_target: | |
branches: | |
- main | |
types: [closed] | |
jobs: | |
dispatch: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Repository Dispatch | |
uses: peter-evans/repository-dispatch@v3 | |
with: | |
token: ${{ secrets.SYNC_REQUEST_TOKEN }} | |
repository: sveltejs/svelte.dev | |
event-type: docs-preview-delete | |
client-payload: |- | |
{ | |
"package": "cli", | |
"repo": "${{ github.repository }}", | |
"owner": "${{ github.event.pull_request.head.repo.owner.login }}", | |
"branch": "${{ github.event.pull_request.head.ref }}", | |
"pr": ${{ github.event.pull_request.number }} | |
} |