Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
fengzch-das
nunchaku
Commits
c29d13c2
"examples/vscode:/vscode.git/clone" did not exist on "bdb88df576aa88610fc9793478e25ca10348f4a9"
Commit
c29d13c2
authored
Jul 23, 2025
by
Muyang Li
Browse files
chore: disable the workflow_dispatch
parent
852735ec
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
10 deletions
+7
-10
.github/workflows/build-docs.yaml
.github/workflows/build-docs.yaml
+7
-10
No files found.
.github/workflows/build-docs.yaml
View file @
c29d13c2
...
...
@@ -2,19 +2,16 @@ name: Build Docs
on
:
schedule
:
-
cron
:
'
0
7
*
*
*'
# UTC time
workflow_dispatch
:
repository_dispatch
:
types
:
[
build-docs
]
jobs
:
tag
:
build-and-deploy-docs
:
name
:
Build and deploy docs
runs-on
:
[
self-hosted
,
blackwell
]
if
:
github.repository == 'nunchaku-tech/nunchaku'
if
:
github.repository == 'nunchaku-tech/nunchaku' && (github.event_name != 'repository_dispatch' || github.actor == 'lmxyy')
env
:
DOC_VERSION
:
${{ github.event.client_payload.version || 'nightly' }}
steps
:
-
name
:
Test ssh
run
:
|
echo "${{ secrets.DO_SSH_KEY }}" > ./id_rsa
chmod 600 id_rsa
ssh -o StrictHostKeyChecking=no -i id_rsa ${{ secrets.DO_USER }}@${{ secrets.DO_HOST }} "echo SSH connection successful"
rm id_rsa
-
name
:
Checkout main branch
uses
:
actions/checkout@v4
with
:
...
...
@@ -59,7 +56,7 @@ jobs:
source $(conda info --base)/etc/profile.d/conda.sh
conda activate nunchaku-docs || { echo "Failed to activate conda env"; exit 1; }
which python
rsync -avz --delete docs/build/html/ ${{ secrets.DO_USER }}@${{ secrets.DO_HOST }}:${{ secrets.DO_DOCS_ROOT }}/nunchaku-
nightly
rsync -avz --delete docs/build/html/ ${{ secrets.DO_USER }}@${{ secrets.DO_HOST }}:${{ secrets.DO_DOCS_ROOT }}/nunchaku-
${{ env.DOC_VERSION }}
rm id_rsa
env
:
RSYNC_RSH
:
"
ssh
-o
StrictHostKeyChecking=no
-i
id_rsa"
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment