2023-06-26 12:15:24 +02:00
|
|
|
name: amd64
|
|
|
|
kind: pipeline
|
|
|
|
type: docker
|
|
|
|
|
|
|
|
platform:
|
|
|
|
os: linux
|
|
|
|
arch: amd64
|
|
|
|
|
2023-06-26 15:06:57 +02:00
|
|
|
clone:
|
|
|
|
disable: true
|
|
|
|
|
2023-06-26 12:15:24 +02:00
|
|
|
steps:
|
2023-06-26 15:45:40 +02:00
|
|
|
- name: clone and build
|
2023-06-26 15:34:58 +02:00
|
|
|
image: registry.access.redhat.com/ubi9/python-311:1-12
|
|
|
|
commands:
|
2023-06-26 15:38:44 +02:00
|
|
|
- mkdir ~/docs && cd ~/docs
|
2023-06-26 15:34:58 +02:00
|
|
|
- git clone https://git.nick-slowinski.de/NickSlowinski/docs.git .
|
|
|
|
- git checkout $DRONE_COMMIT -b $DRONE_BRANCH
|
2023-06-26 15:06:57 +02:00
|
|
|
- pip install --upgrade pip
|
2023-06-26 12:15:24 +02:00
|
|
|
- pip install -r requirements.txt
|
|
|
|
- mkdocs build
|