This commit is contained in:
parent
367b0772e6
commit
97f9779780
17
.drone.yml
17
.drone.yml
@ -10,29 +10,15 @@ trigger:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
|
||||||
# GIT PULL
|
|
||||||
# - name: git pull submodules
|
|
||||||
# image: alpine/git
|
|
||||||
# settings:
|
|
||||||
# user:
|
|
||||||
# from_secret: GIT_USER
|
|
||||||
# password:
|
|
||||||
# from_secret: GIT_PASSWORD
|
|
||||||
# commands:
|
|
||||||
# - git submodule update --init --recursive
|
|
||||||
|
|
||||||
# BUILD
|
# BUILD
|
||||||
- name: build
|
- name: build
|
||||||
# ARM version of mkDocs
|
|
||||||
# image: ghcr.io/afritzler/mkdocs-material:8.1.0
|
|
||||||
image: squidfunk/mkdocs-material:9
|
image: squidfunk/mkdocs-material:9
|
||||||
pull: if-not-exists
|
pull: if-not-exists
|
||||||
volumes:
|
volumes:
|
||||||
- name: site
|
- name: site
|
||||||
path: /drone/src/docs
|
path: /drone/src/docs
|
||||||
commands:
|
commands:
|
||||||
- pip install -r requirements.txt && mkdocs build && ls -la public && echo $RSYNC_HOST_KEY
|
- pip install -r requirements.txt && mkdocs build && ls -la
|
||||||
|
|
||||||
# PUSH FILES TO SERVER
|
# PUSH FILES TO SERVER
|
||||||
- name: deploy files on server
|
- name: deploy files on server
|
||||||
image: drillster/drone-rsync
|
image: drillster/drone-rsync
|
||||||
@ -63,7 +49,6 @@ steps:
|
|||||||
subject: >
|
subject: >
|
||||||
[{{ build.status }}]
|
[{{ build.status }}]
|
||||||
{{ repo.owner }}/{{ repo.name }}
|
{{ repo.owner }}/{{ repo.name }}
|
||||||
({{ build.branch }} - {{ truncate build.commit 8 }})
|
|
||||||
attachment: build-result.xml
|
attachment: build-result.xml
|
||||||
body:
|
body:
|
||||||
https://git.io/vgvPz
|
https://git.io/vgvPz
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user