drone: limit depth to speed up cloning and limit size on disk
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Sandro - 2023-01-30 00:29:11 +01:00
parent 5c93dc55f9
commit 8ab3684976
Signed by: sandro
GPG Key ID: 3AF5A43A3EECC2E5
1 changed files with 7 additions and 4 deletions

View File

@ -3,7 +3,7 @@
# drone sign c3d2/c3d2-web --save
kind: pipeline
type: ssh
name: deploy
name: deploy website
server:
host: c3d2-web.flpk.zentralwerk.org
@ -11,15 +11,18 @@ server:
ssh_key:
from_secret: ssh_key
clone:
depth: 25
steps:
- name: build website
- name: build html website
commands:
- make -j$(nproc) export DESTDIR=/var/www/c3d2
- name: build gemini
- name: build gemini website
commands:
- make -f Makefile.gemini -j$(nproc) export DESTDIR=/var/gemini
---
kind: signature
hmac: 74a444419e00498f39a960ce7bc455b172859598e4d78eaaed14c9c115334846
hmac: 2b445804eba8a529a0759c216b1f99dc01975b8398ccf52346d94adbbf150ef7
...