1
0
Fork 0
docs/.drone.yml

27 Zeilen
501 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:
- 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:06:57 +02:00
- cd ~
- pwd
2023-06-26 15:08:38 +02:00
- ls -laZ
2023-06-26 15:09:31 +02:00
- git clone https://git.nick-slowinski.de/nick-slowinski.de/docs.git docs
- cd docs
2023-06-26 15:06:57 +02:00
- git checkout $DRONE_COMMIT
- pip install --upgrade pip
2023-06-26 12:15:24 +02:00
- pip install -r requirements.txt
2023-06-26 15:03:34 +02:00
- ls -laZ /drone/src
- ls -laZ /drone/src/site
- ls -laZ /drone/src/docs
2023-06-26 12:15:24 +02:00
- mkdocs build