Skip to content

Commit

Permalink
Add Publish Conditions to GA (#347)
Browse files Browse the repository at this point in the history
  • Loading branch information
AtelyPham committed Jul 17, 2023
1 parent c365305 commit 848d073
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/publish-packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ on:
push:
branches:
- main
# Only publish when changes are made to the following paths
paths:
- 'packages/**'
- 'circuits/**'

concurrency: ${{ github.workflow }}-${{ github.ref }}

Expand Down
9 changes: 9 additions & 0 deletions .github/workflows/publish-ts-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,18 @@ on:
push:
branches:
- main
# Only publish when changes are made to the following paths
paths:
- 'packages/**'
- 'circuits/**'

pull_request:
branches:
- main
# Only publish when changes are made to the following paths
paths:
- 'packages/**'
- 'circuits/**'

jobs:
publish-docs:
Expand Down

0 comments on commit 848d073

Please sign in to comment.