From 08ca787295ca4aa3d63ff401d0db2398586058cd Mon Sep 17 00:00:00 2001 From: Nick Slowinski Date: Mon, 26 Jun 2023 13:02:25 +0200 Subject: [PATCH] moving clone process --- .drone.yml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.drone.yml b/.drone.yml index cdf0237..e4176a9 100644 --- a/.drone.yml +++ b/.drone.yml @@ -1,16 +1,22 @@ name: amd64 kind: pipeline type: docker +clone: + disable: true platform: os: linux arch: amd64 steps: +- name: clone + image: registry.access.redhat.com/ubi9/python-311:1-12 + commands: + - git clone https://git.nick-slowinski.de/nick-slowinski.de/docs.git . + - git checkout $DRONE_COMMIT + - name: build image: registry.access.redhat.com/ubi9/python-311:1-12 commands: - - whoami - - dnf install -y git - pip install -r requirements.txt - mkdocs build \ No newline at end of file