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
f3b9208f
"git@developer.sourcefind.cn:OpenDAS/ollama.git" did not exist on "f2a96c7d778249a7f911471b6a1532339e42fcf5"
Unverified
Commit
f3b9208f
authored
Nov 18, 2020
by
Matti Picus
Committed by
GitHub
Nov 17, 2020
Browse files
fix doc commit script 2 (#1041)
parent
550b6a30
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
5 deletions
+8
-5
.circleci/build_docs/commit_docs.sh
.circleci/build_docs/commit_docs.sh
+8
-5
No files found.
.circleci/build_docs/commit_docs.sh
View file @
f3b9208f
...
@@ -17,13 +17,16 @@ set -ex
...
@@ -17,13 +17,16 @@ set -ex
echo
"committing docs from
${
src
}
to
${
target
}
"
echo
"committing docs from
${
src
}
to
${
target
}
"
git checkout gh-pages
git checkout gh-pages
rm
-rf
docs/
$target
/
*
mkdir
-p
./
$target
cp
-r
${
src
}
/build/html/
*
docs/
$target
rm
-rf
./
$target
/
*
cp
-r
${
src
}
/build/html/
*
./
$target
if
[
"
$target
"
==
"master"
]
;
then
if
[
"
$target
"
==
"master"
]
;
then
rm
-rf
docs/_static/
*
mkdir
-p
./_static
cp
-r
${
src
}
/build/html/_static/
*
docs/_static
rm
-rf
./_static/
*
cp
-r
${
src
}
/build/html/_static/
*
./_static
git add ./_static
||
true
fi
fi
git add
docs
||
true
git add
./
$target
||
true
git config user.email
"soumith+bot@pytorch.org"
git config user.email
"soumith+bot@pytorch.org"
git config user.name
"pytorchbot"
git config user.name
"pytorchbot"
# If there aren't changes, don't make a commit; push is no-op
# If there aren't changes, don't make a commit; push is no-op
...
...
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