Skip to content

Commit c9815eb

Browse files
committed
use python 3.
1 parent 6b653ac commit c9815eb

File tree

2 files changed

+5
-7
lines changed

2 files changed

+5
-7
lines changed

netlify-deploy.sh

-5
This file was deleted.

netlify.toml

+5-2
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,10 @@
1515
# Default build command.
1616
# See the available default environment variables
1717
# https://docs.netlify.com/configure-builds/environment-variables/#netlify-configuration-variables
18-
command = "./netlify-deploy.sh"
18+
# Netlify will auto install the deps.
19+
# https://docs.netlify.com/configure-builds/manage-dependencies/#python
20+
# https://github.com/netlify/build-image/blob/focal/included_software.md
21+
command = "venv/bin/sphinx-build -b html -D html_theme=integrated doc_source/ deploy"
1922

2023
[build.processing.html]
2124
# The automatic redirection from /path/folder-> /path/folder/ is disabled
@@ -26,7 +29,7 @@
2629
[build.environment]
2730
GIT_LFS_ENABLED = "True"
2831
SFTPPLUS_TARGET = "production"
29-
32+
PYTHON_VERSION = "3.8"
3033

3134
[context.production.environment]
3235
SFTPPLUS_TARGET = "production"

0 commit comments

Comments
 (0)