mirror of
https://github.com/esphome/esphome-docs.git
synced 2025-02-10 00:42:00 +01:00
Use python 3.12 on Netlify and CI (#4375)
This commit is contained in:
parent
e9853713ad
commit
0e97ebd387
6
.github/workflows/lint.yml
vendored
6
.github/workflows/lint.yml
vendored
@ -10,7 +10,7 @@ on:
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
|
||||
cancel-in-progress: true
|
||||
@ -24,10 +24,10 @@ jobs:
|
||||
with:
|
||||
repo: cloudcannon/pagefind
|
||||
- uses: actions/checkout@v4.2.1
|
||||
- name: Set up Python 3.8
|
||||
- name: Set up Python 3.12
|
||||
uses: actions/setup-python@v5
|
||||
with:
|
||||
python-version: 3.8
|
||||
python-version: 3.12
|
||||
- name: Install dependencies
|
||||
run: pip install -r requirements.txt -r requirements_test.txt
|
||||
- name: Register problem matchers
|
||||
|
@ -1,7 +1,7 @@
|
||||
[build]
|
||||
publish = "_build/html"
|
||||
command = "make netlify"
|
||||
environment = { BASE_URL = "https://esphome.io" }
|
||||
environment = { BASE_URL = "https://esphome.io", PYTHON_VERSION = "3.12" }
|
||||
|
||||
[context.beta]
|
||||
environment = { BASE_URL = "https://beta.esphome.io" }
|
||||
|
Loading…
Reference in New Issue
Block a user