geforkt von nick-slowinski.de/docs
„.drone.yml“ ändern
Einige Checks meldeten Fehler
continuous-integration/drone/push Build encountered an error
Einige Checks meldeten Fehler
continuous-integration/drone/push Build encountered an error
Dieser Commit ist enthalten in:
Ursprung
0f6b938de6
Commit
faef516108
1 geänderte Dateien mit 36 neuen und 35 gelöschten Zeilen
71
.drone.yml
71
.drone.yml
|
@ -39,9 +39,9 @@ steps:
|
||||||
- renovate/*
|
- renovate/*
|
||||||
|
|
||||||
trigger:
|
trigger:
|
||||||
event:
|
event:
|
||||||
- push
|
- push
|
||||||
- pull_request
|
- pull_request
|
||||||
|
|
||||||
---
|
---
|
||||||
name: test
|
name: test
|
||||||
|
@ -55,39 +55,40 @@ platform:
|
||||||
clone:
|
clone:
|
||||||
disable: true
|
disable: true
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: clone
|
- name: clone
|
||||||
image: registry.access.redhat.com/ubi9/python-311:1-12
|
image: registry.access.redhat.com/ubi9/python-311:1-12
|
||||||
volumes:
|
volumes:
|
||||||
- name: cache
|
- name: cache
|
||||||
path: /opt/app-root/src
|
path: /opt/app-root/src
|
||||||
commands:
|
commands:
|
||||||
- mkdir ~/docs && cd ~/docs
|
- mkdir ~/docs && cd ~/docs
|
||||||
- git clone $DRONE_REPO_LINK .
|
- git clone $DRONE_REPO_LINK .
|
||||||
- git checkout $DRONE_COMMIT
|
- git checkout $DRONE_COMMIT
|
||||||
when:
|
when:
|
||||||
branch:
|
branch:
|
||||||
exclude:
|
exclude:
|
||||||
- renovate/*
|
- renovate/*
|
||||||
- name: build
|
- name: build
|
||||||
image: registry.access.redhat.com/ubi9/python-311:1-12
|
image: registry.access.redhat.com/ubi9/python-311:1-12
|
||||||
volumes:
|
volumes:
|
||||||
- name: cache
|
- name: cache
|
||||||
path: /opt/app-root/src
|
path: /opt/app-root/src
|
||||||
commands:
|
commands:
|
||||||
- cd ~/docs
|
- cd ~/docs
|
||||||
- pip install --upgrade pip
|
- pip install --upgrade pip
|
||||||
- pip install -r requirements.txt
|
- pip install -r requirements.txt
|
||||||
- mkdocs build
|
- mkdocs build
|
||||||
when:
|
when:
|
||||||
branch:
|
branch:
|
||||||
exclude:
|
exclude:
|
||||||
- renovate/*
|
- renovate/*
|
||||||
|
|
||||||
trigger:
|
trigger:
|
||||||
event:
|
event:
|
||||||
- push
|
- promote
|
||||||
- pull_request
|
target:
|
||||||
|
- production
|
||||||
volumes:
|
volumes:
|
||||||
- name: cache
|
- name: cache
|
||||||
temp: {}
|
temp: {}
|
Laden …
In neuem Issue referenzieren