We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2a899d9 commit cf6bafdCopy full SHA for cf6bafd
1 file changed
.github/deploy_docs.sh
@@ -91,6 +91,7 @@ set -euo pipefail
91
92
DEST_SLUG=biopython/docs
93
VER=$(python -c "import Bio; v=Bio.__version__; print('dev' if 'dev' in v else v)")
94
+DEST_DIR=$VER/
95
SOURCE_DIR=${BUILD_DIR:-$PWD}/Doc/_build/html
96
WORKING_DIR=/tmp/deploy_biopython_docs
97
COMMIT_HASH=$(git rev-parse HEAD) # For later when we commit the docs repository
@@ -100,8 +101,6 @@ if [ -z "$DEST_DIR" ]; then
100
101
python -c "import Bio; print(Bio.__version__)"
102
false
103
fi
-
104
-DEST_DIR=$VER/
105
echo "Aiming to deploy $SOURCE_DIR to $DEST_SLUG branch gh-pages as $DEST_DIR"
106
107
# We have to create the SSH key with spaces and new lines, so
0 commit comments