diff --git a/.drone.yml b/.drone.yml index ff3a801..45a413f 100644 --- a/.drone.yml +++ b/.drone.yml @@ -10,17 +10,12 @@ clone: disable: true steps: -- name: clone +- name: clone and build image: registry.access.redhat.com/ubi9/python-311:1-12 commands: - mkdir ~/docs && cd ~/docs - git clone https://git.nick-slowinski.de/NickSlowinski/docs.git . - git checkout $DRONE_COMMIT -b $DRONE_BRANCH -- name: build - image: registry.access.redhat.com/ubi9/python-311:1-12 - commands: - - cd ~/docs - - pwd - pip install --upgrade pip - pip install -r requirements.txt - mkdocs build \ No newline at end of file