Skip to content

Commit 0a36e7f

Browse files
committed
Clean sphinx artifacts only when event != 'pull_request'
1 parent 6418507 commit 0a36e7f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/sphinx.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -188,9 +188,9 @@ jobs:
188188
SOURCE: artifacts/
189189
DESTINATION:
190190

191-
sphinx-clean:
191+
sphinx-clean-artifacts:
192192
runs-on: ubuntu-latest
193-
if: always()
193+
if: ${{ always() && (github.event_name != 'pull_request') }}
194194
needs: [sphinx-version, sphinx-build, sphinx-deploy-html, sphinx-deploy-root-files]
195195
steps:
196196
- uses: geekyeggo/delete-artifact@v5

0 commit comments

Comments
 (0)