diff --git a/.drone.yml b/.drone.yml index 7882f7d..4cf1073 100644 --- a/.drone.yml +++ b/.drone.yml @@ -10,13 +10,26 @@ clone: disable: true steps: -- name: clone and build +- name: clone image: registry.access.redhat.com/ubi9/python-311:1-12 + volumes: + - name: cache + path: /opt/app-root/src commands: - mkdir ~/docs && cd ~/docs - - echo $DRONE_REPO_LINK - git clone $DRONE_REPO_LINK . - git checkout $DRONE_COMMIT -b $DRONE_BRANCH +- name: build + image: registry.access.redhat.com/ubi9/python-311:1-12 + volumes: + - name: cache + path: /opt/app-root/src + commands: + - cd ~/docs - pip install --upgrade pip - pip install -r requirements.txt - - mkdocs build \ No newline at end of file + - mkdocs build + +volumes: +- name: cache + temp: {} \ No newline at end of file