Skip to content

Commit 1dd8db2

Browse files
committed
ci
1 parent c54ed82 commit 1dd8db2

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/documentation.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@ jobs:
3535
- run: |
3636
sphinx-build --builder html docs/source/ docs/build/html
3737
38-
# TODO: only on push to master
39-
- name: Upload artifact
38+
- name: Upload artifact (only on push to master)
39+
if: github.event_name == 'push' && github.ref == 'refs/heads/master'
4040
uses: actions/upload-pages-artifact@v4
4141
with:
4242
path: './docs/build/html'

0 commit comments

Comments
 (0)