Skip to content

Commit 7aeb881

Browse files
committed
ci: fix typos
1 parent 7a2e875 commit 7aeb881

File tree

3 files changed

+5
-11
lines changed

3 files changed

+5
-11
lines changed

docs/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
SPHINXOPTS =
66
SPHINXBUILD = sphinx-build
77
SOURCEDIR = source
8-
BUILDDIR = SNNU-SDk-docs
8+
BUILDDIR = SNNU-SDK-docs
99

1010
# Put it first so that "make" without argument is like "make help".
1111
help:

docs/make.bat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ if "%SPHINXBUILD%" == "" (
88
set SPHINXBUILD=sphinx-build
99
)
1010
set SOURCEDIR=source
11-
set BUILDDIR=SNNU-SDk-docs
11+
set BUILDDIR=SNNU-SDK-docs
1212

1313
if "%1" == "" goto help
1414

publish-docs.sh

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,13 @@
11
#!/bin/bash
22
export GH_REF="github.com/snnucs/SNNU-SDK.git"
33
cd docs && make html
4-
pwd
54
git clone https://${GH_REF} html
65
cd html
76
git checkout gh-pages
87
git pull origin
9-
cd ..
10-
pwd
11-
ls
12-
sudo cd SNNU-SDK-docs && sudo mkdir .git
13-
sudo mv html/.git/ SNNU-SDK-docs/.git/
14-
sudo cd SNNU-SDK-docs
15-
pwd
16-
rm -rf doctrees
8+
rm -rf *
9+
sudo mv ./../SNNU-SDK-docs/html/* ./
10+
git status
1711
git config --global user.name "Qi Zhao"
1812
git config --global user.email "[email protected]"
1913
git add .

0 commit comments

Comments
 (0)