geforkt von nick-slowinski.de/docs
Commits vergleichen
16 Commits
drone-setu
...
main
Autor | SHA1 | Datum | |
---|---|---|---|
0443c06f36 | |||
212eae970e | |||
a40b4b9d80 | |||
d81f87b152 | |||
c80865ad1a | |||
fe2243553a | |||
faef516108 | |||
0f6b938de6 | |||
29ad6bc40b | |||
7ed30ca908 | |||
ea971a432a | |||
6822f998aa | |||
6ed4319e58 | |||
3a6af5ee5f | |||
78fe49bb84 | |||
bbc9548a93 |
2 geänderte Dateien mit 104 neuen und 29 gelöschten Zeilen
103
.drone.yml
Normale Datei
103
.drone.yml
Normale Datei
|
@ -0,0 +1,103 @@
|
|||
name: test
|
||||
kind: pipeline
|
||||
type: docker
|
||||
|
||||
platform:
|
||||
os: linux
|
||||
arch: amd64
|
||||
|
||||
clone:
|
||||
disable: true
|
||||
|
||||
steps:
|
||||
- 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
|
||||
- git clone $DRONE_REPO_LINK .
|
||||
- git checkout $DRONE_COMMIT
|
||||
when:
|
||||
branch:
|
||||
exclude:
|
||||
- renovate/*
|
||||
- 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
|
||||
when:
|
||||
branch:
|
||||
exclude:
|
||||
- renovate/*
|
||||
|
||||
trigger:
|
||||
event:
|
||||
- push
|
||||
- pull_request
|
||||
volumes:
|
||||
- name: cache
|
||||
temp: {}
|
||||
---
|
||||
name: deploy to production
|
||||
kind: pipeline
|
||||
type: docker
|
||||
|
||||
platform:
|
||||
os: linux
|
||||
arch: amd64
|
||||
|
||||
clone:
|
||||
disable: true
|
||||
|
||||
steps:
|
||||
- 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
|
||||
- git clone $DRONE_REPO_LINK .
|
||||
- git checkout $DRONE_COMMIT
|
||||
- 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
|
||||
- name: deploy to production
|
||||
image: appleboy/drone-scp
|
||||
volumes:
|
||||
- name: cache
|
||||
path: /opt/app-root/src
|
||||
settings:
|
||||
host: helene.nick-slowinski.de
|
||||
username: drone_nick-slowinski_de-docs
|
||||
key:
|
||||
from_secret: ssh_private_key-drone_nick-slowinski_de-docs
|
||||
target: /var/www/nick-slowinski.de/docs/production
|
||||
source: /opt/app-root/src/docs/site
|
||||
rm: true
|
||||
overwrite: true
|
||||
strip_components: 5
|
||||
|
||||
trigger:
|
||||
event:
|
||||
- promote
|
||||
target:
|
||||
- production
|
||||
volumes:
|
||||
- name: cache
|
||||
temp: {}
|
|
@ -1,30 +1,2 @@
|
|||
Babel==2.12.1
|
||||
certifi==2023.5.7
|
||||
charset-normalizer==3.1.0
|
||||
click==8.1.3
|
||||
colorama==0.4.6
|
||||
ghp-import==2.1.0
|
||||
gitdb==4.0.10
|
||||
GitPython==3.1.31
|
||||
idna==3.4
|
||||
Jinja2==3.1.2
|
||||
Markdown==3.4.3
|
||||
MarkupSafe==2.1.3
|
||||
mergedeep==1.3.4
|
||||
mkdocs==1.4.3
|
||||
mkdocs-git-revision-date-localized-plugin==1.2.0
|
||||
mkdocs-material==9.1.17
|
||||
mkdocs-material-extensions==1.1.1
|
||||
packaging==23.1
|
||||
Pygments==2.15.1
|
||||
pymdown-extensions==10.0.1
|
||||
python-dateutil==2.8.2
|
||||
pytz==2023.3
|
||||
PyYAML==6.0
|
||||
pyyaml_env_tag==0.1
|
||||
regex==2023.6.3
|
||||
requests==2.31.0
|
||||
six==1.16.0
|
||||
smmap==5.0.0
|
||||
urllib3==2.0.3
|
||||
watchdog==3.0.0
|
||||
mkdocs-material==9.1.17
|
Laden …
In neuem Issue referenzieren