ci: use python:3.12 container to satisfy >=3.12
Some checks failed
Deploy Docs / deploy (push) Failing after 17s
Some checks failed
Deploy Docs / deploy (push) Failing after 17s
This commit is contained in:
parent
a3ec22a70a
commit
6e1cdf4018
1 changed files with 6 additions and 3 deletions
|
|
@ -5,19 +5,22 @@ on:
|
||||||
- main
|
- main
|
||||||
jobs:
|
jobs:
|
||||||
deploy:
|
deploy:
|
||||||
runs-on: node:22
|
runs-on:
|
||||||
|
container:
|
||||||
|
image: python:3.12
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
|
||||||
- run: python3 --version
|
- run: python3 --version
|
||||||
- run: pip3 install zensical
|
|
||||||
- run: pip3 install -e .
|
|
||||||
|
|
||||||
- run: |
|
- run: |
|
||||||
python3 -m venv /tmp/venv
|
python3 -m venv /tmp/venv
|
||||||
. /tmp/venv/bin/activate
|
. /tmp/venv/bin/activate
|
||||||
|
pip install --upgrade pip
|
||||||
|
pip install zensical
|
||||||
|
pip install -e .
|
||||||
zensical build --clean
|
zensical build --clean
|
||||||
|
|
||||||
- name: Deploy to pages branch
|
- name: Deploy to pages branch
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue