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:34:58 +02:00
|
|
|
- name: clone
|
|
|
|
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 12:15:24 +02:00
|
|
|
- name: build
|
2023-06-26 15:02:00 +02:00
|
|
|
image: registry.access.redhat.com/ubi9/python-311:1-12
|
2023-06-26 12:15:24 +02:00
|
|
|
commands:
|
2023-06-26 15:39:47 +02:00
|
|
|
- cd ~/docs
|
2023-06-26 15:06:57 +02:00
|
|
|
- pwd
|
|
|
|
- pip install --upgrade pip
|
2023-06-26 12:15:24 +02:00
|
|
|
- pip install -r requirements.txt
|
|
|
|
- mkdocs build
|