This commit is contained in:
@@ -8,17 +8,17 @@ jobs:
|
|||||||
build:
|
build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
container:
|
container:
|
||||||
image: node:20-bookworm
|
image: gitea/act_runner:latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Setup Python environment
|
- name: Install Python + MkDocs
|
||||||
run: |
|
run: |
|
||||||
apt-get update
|
apt-get update
|
||||||
apt-get install -y python3 python3-venv
|
apt-get install -y python3 python3-venv
|
||||||
python3 -m venv .venv
|
python3 -m venv .venv
|
||||||
|
.venv/bin/pip install --upgrade pip
|
||||||
.venv/bin/pip install -r ci/mkdocs/requirements.txt
|
.venv/bin/pip install -r ci/mkdocs/requirements.txt
|
||||||
|
|
||||||
- name: Build
|
- name: Build site
|
||||||
run: .venv/bin/mkdocs build --clean --site-dir /public
|
run: .venv/bin/mkdocs build --clean --site-dir /public
|
||||||
|
|||||||
Reference in New Issue
Block a user