diff --git a/.drone.yml b/.drone.yml index 331eed2..d7b30bf 100644 --- a/.drone.yml +++ b/.drone.yml @@ -10,15 +10,16 @@ clone: disable: true steps: +- name: clone + image: registry.access.redhat.com/ubi9/python-311:1-12 + commands: + - mkdircd ~/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 ~ - pwd - - ls -laZ - - git clone https://git.nick-slowinski.de/NickSlowinski/docs.git docs - - cd docs - - git checkout $DRONE_COMMIT - pip install --upgrade pip - pip install -r requirements.txt - mkdocs build \ No newline at end of file