Add drone.yml
continuous-integration/drone/push Build is failing Details

This commit is contained in:
Sandro - 2023-01-29 23:22:02 +01:00
parent 9098758ff4
commit 5c93dc55f9
Signed by: sandro
GPG Key ID: 3AF5A43A3EECC2E5
2 changed files with 27 additions and 1 deletions

25
.drone.yml Normal file
View File

@ -0,0 +1,25 @@
---
# don't forget to sign with:
# drone sign c3d2/c3d2-web --save
kind: pipeline
type: ssh
name: deploy
server:
host: c3d2-web.flpk.zentralwerk.org
user: c3d2-web
ssh_key:
from_secret: ssh_key
steps:
- name: build website
commands:
- make -j$(nproc) export DESTDIR=/var/www/c3d2
- name: build gemini
commands:
- make -f Makefile.gemini -j$(nproc) export DESTDIR=/var/gemini
---
kind: signature
hmac: 74a444419e00498f39a960ce7bc455b172859598e4d78eaaed14c9c115334846
...

3
.gitignore vendored
View File

@ -1,5 +1,6 @@
.*
!.gitignore
!.drone.yml
/build
/www
!.keep
@ -16,5 +17,5 @@
/content/static/datenspuren/2007/fahrplan/track/V*
/content/static/datenspuren/2007/fahrplan/attachments/1280-Kamera*
/content/static/datenspuren/2012/style.css.bak
portal/
/portal/
!/content/static/.well-known