1
0
Fork 0
docs/.drone.yml

22 Zeilen
421 B
YAML

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:51:13 +02:00
- echo $DRONE_REPO_LINK
- git clone $DRONE_REPO_LINK .
2023-06-26 15:34:58 +02:00
- 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