docs: remove callbacks from online docs

This commit is contained in:
Xuehai Pan 2025-05-13 14:29:13 +08:00
parent 68d7e95b8a
commit af416db5d1
4 changed files with 2 additions and 60 deletions

View file

@ -37,7 +37,7 @@ permissions:
jobs:
build:
runs-on: ubuntu-latest
if: github.repository == 'XuehaiPan/nvitop'
if: github.repository_owner == 'XuehaiPan'
timeout-minutes: 30
steps:
- name: Checkout
@ -114,7 +114,7 @@ jobs:
runs-on: ubuntu-latest
needs: [build]
if: |
github.repository == 'XuehaiPan/nvitop' && github.event_name != 'pull_request' &&
github.repository_owner == 'XuehaiPan' && github.event_name != 'pull_request' &&
(github.event_name != 'workflow_dispatch' || github.event.inputs.task == 'build-and-publish') &&
(github.event_name != 'push' || startsWith(github.ref, 'refs/tags/'))
timeout-minutes: 15