test buildresult.xml
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Grégory Lebreton 2024-01-09 16:18:14 +01:00
parent 367b0772e6
commit 97f9779780

View File

@ -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