This commit is contained in:
parent
367b0772e6
commit
97f9779780
17
.drone.yml
17
.drone.yml
@ -10,29 +10,15 @@ trigger:
|
||||
|
||||
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
|
||||
- name: build
|
||||
# ARM version of mkDocs
|
||||
# image: ghcr.io/afritzler/mkdocs-material:8.1.0
|
||||
image: squidfunk/mkdocs-material:9
|
||||
pull: if-not-exists
|
||||
volumes:
|
||||
- name: site
|
||||
path: /drone/src/docs
|
||||
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
|
||||
- name: deploy files on server
|
||||
image: drillster/drone-rsync
|
||||
@ -63,7 +49,6 @@ steps:
|
||||
subject: >
|
||||
[{{ build.status }}]
|
||||
{{ repo.owner }}/{{ repo.name }}
|
||||
({{ build.branch }} - {{ truncate build.commit 8 }})
|
||||
attachment: build-result.xml
|
||||
body:
|
||||
https://git.io/vgvPz
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user