mirror of
https://github.com/mii443/tokenizers.git
synced 2025-12-04 03:38:23 +00:00
Doc - Update deploy_doc to stop rebuilding existing version
This commit is contained in:
14
.github/deploy_doc.sh
vendored
14
.github/deploy_doc.sh
vendored
@@ -14,7 +14,7 @@ function push_version() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function deploy_doc(){
|
function deploy_doc(){
|
||||||
echo "Creating doc at commit $1 for language $3 and pushing to folder $2"
|
echo "Creating doc at $1 for language $3 and pushing to folder $2"
|
||||||
git checkout $1
|
git checkout $1
|
||||||
cd "$GITHUB_WORKSPACE/docs"
|
cd "$GITHUB_WORKSPACE/docs"
|
||||||
if [ "$2" == "master" ]; then
|
if [ "$2" == "master" ]; then
|
||||||
@@ -44,9 +44,9 @@ deploy_doc "$GITHUB_SHA" latest rust override
|
|||||||
deploy_doc "$GITHUB_SHA" latest node override
|
deploy_doc "$GITHUB_SHA" latest node override
|
||||||
|
|
||||||
# Python versions
|
# Python versions
|
||||||
deploy_doc "558f2d87795ffc9d9786f1e923398e3eebe14187" v0.9.0 python override
|
deploy_doc "558f2d87795ffc9d9786f1e923398e3eebe14187" v0.9.0 python
|
||||||
deploy_doc "558f2d87795ffc9d9786f1e923398e3eebe14187" v0.9.1 python override
|
deploy_doc "558f2d87795ffc9d9786f1e923398e3eebe14187" v0.9.1 python
|
||||||
deploy_doc "558f2d87795ffc9d9786f1e923398e3eebe14187" v0.9.2 python override
|
deploy_doc "558f2d87795ffc9d9786f1e923398e3eebe14187" v0.9.2 python
|
||||||
deploy_doc "558f2d87795ffc9d9786f1e923398e3eebe14187" v0.9.3 python override
|
deploy_doc "558f2d87795ffc9d9786f1e923398e3eebe14187" v0.9.3 python
|
||||||
deploy_doc "$GITHUB_SHA" v0.9.4 python override
|
deploy_doc "python-v0.9.4" v0.9.4 python
|
||||||
deploy_doc "$GITHUB_SHA" latest python override
|
deploy_doc "python-v0.9.4" latest python override
|
||||||
|
|||||||
Reference in New Issue
Block a user