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
hehl2
Torchaudio
Commits
70f429a4
"tools/vscode:/vscode.git/clone" did not exist on "b68e5a37fbf770d911da53e948e76eb9fdf10bcc"
Unverified
Commit
70f429a4
authored
Nov 16, 2020
by
Matti Picus
Committed by
GitHub
Nov 16, 2020
Browse files
fix typos in commit_docs.sh script (#1034)
parent
20a41549
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
.circleci/build_docs/commit_docs.sh
.circleci/build_docs/commit_docs.sh
+3
-3
No files found.
.circleci/build_docs/commit_docs.sh
View file @
70f429a4
...
@@ -10,16 +10,16 @@ if [ "$2" == "" ]; then
...
@@ -10,16 +10,16 @@ if [ "$2" == "" ]; then
exit
1
exit
1
fi
fi
s
c
r
=
$1
sr
c
=
$1
target
=
$2
target
=
$2
set
-ex
set
-ex
echo
"committing docs from
${
s
t
c
}
to
${
target
}
"
echo
"committing docs from
${
s
r
c
}
to
${
target
}
"
git checkout gh-pages
git checkout gh-pages
rm
-rf
docs/
$target
/
*
rm
-rf
docs/
$target
/
*
cp
-r
${
src
}
/build/html/
*
docs/
$target
cp
-r
${
src
}
/build/html/
*
docs/
$target
if
[
$target
==
"master"
]
;
then
if
[
"
$target
"
==
"master"
]
;
then
rm
-rf
docs/_static/
*
rm
-rf
docs/_static/
*
cp
-r
${
src
}
/build/html/_static/
*
docs/_static
cp
-r
${
src
}
/build/html/_static/
*
docs/_static
fi
fi
...
...
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