Skip to content

Commit

Permalink
gh action only runs on PR not push
Browse files Browse the repository at this point in the history
  • Loading branch information
bracesproul committed Nov 6, 2023
1 parent 1da4e66 commit 90e85fa
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
3 changes: 0 additions & 3 deletions .github/workflows/api-docs-preview.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
name: Deploy API Docs Preview

on:
push:
paths:
- 'langchain/**'
pull_request:
paths:
- 'langchain/**'
Expand Down
5 changes: 1 addition & 4 deletions .github/workflows/api-docs-prod.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,10 @@
name: Deploy API Docs Prod

on:
push:
paths:
- 'langchain/**'
branches: ["main"]
pull_request:
paths:
- 'langchain/**'
branches: ["main"]
workflow_dispatch: # Allows triggering the workflow manually in GitHub UI

# If another push to the same PR or branch happens while this workflow is still running,
Expand Down

0 comments on commit 90e85fa

Please sign in to comment.