geforkt von nick-slowinski.de/docs
Dieser Commit ist enthalten in:
Ursprung
eb48ee160b
Commit
922c979e74
1 geänderte Dateien mit 16 neuen und 3 gelöschten Zeilen
17
.drone.yml
17
.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
|
||||
|
||||
volumes:
|
||||
- name: cache
|
||||
temp: {}
|
Laden …
In neuem Issue referenzieren