Skip to content

Commit ed7f9a6

Browse files
committed
Fix docs deploy job condition
1 parent b17521f commit ed7f9a6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/docs.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,15 +28,15 @@ jobs:
2828
with:
2929
filters: |
3030
docs:
31-
- 'github/workflows/docs.yml'
31+
- '.github/workflows/docs.yml'
3232
- 'docs/**'
3333
- 'mkdocs.yml'
3434
- 'LICENSE.md'
3535
- 'README.md'
3636
3737
deploy:
3838
needs: changes
39-
if: ${{ needs.changes.outputs.docs == 'true' }}
39+
if: ${{ startsWith(github.ref, 'refs/tags/v') || needs.changes.outputs.docs == 'true' }}
4040
runs-on: ubuntu-latest
4141
steps:
4242
- uses: actions/checkout@v4

0 commit comments

Comments
 (0)