forked from wtf-eg/handbuch-gen
Initial build config for Drone
This commit is contained in:
parent
9ed563e8fa
commit
6dfb7152d4
43
.drone.yml
Normal file
43
.drone.yml
Normal file
@ -0,0 +1,43 @@
|
|||||||
|
---
|
||||||
|
kind: pipeline
|
||||||
|
type: docker
|
||||||
|
name: amd64-main
|
||||||
|
|
||||||
|
platform:
|
||||||
|
os: linux
|
||||||
|
arch: amd64
|
||||||
|
|
||||||
|
trigger:
|
||||||
|
branch:
|
||||||
|
- main
|
||||||
|
event:
|
||||||
|
- push
|
||||||
|
- pull_request
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: submodules
|
||||||
|
image: alpine
|
||||||
|
environment:
|
||||||
|
SSH_KEY:
|
||||||
|
from_secret: SSH_KEY
|
||||||
|
commands:
|
||||||
|
- apk add openssh git
|
||||||
|
- mkdir -p /root/.ssh
|
||||||
|
- echo "$SSH_KEY" > /root/.ssh/id_rsa
|
||||||
|
- chmod 600 /root/.ssh/id_rsa
|
||||||
|
- echo "git.wtf-eg.de ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIEjyrSgFgb+/ubyFDl3zvWSIfX+MLzRQUEtjdq1yeTd9" >> /root/.ssh/known_hosts
|
||||||
|
- chmod 600 /root/.ssh/known_hosts
|
||||||
|
- git submodule update --init --recursive
|
||||||
|
- name: build
|
||||||
|
image: sphinxdoc/sphinx-latexpdf:5.0.2
|
||||||
|
commands:
|
||||||
|
- apt-get update
|
||||||
|
- apt-get -y install texlive-lang-german rsync
|
||||||
|
- pip install -r requirements.txt
|
||||||
|
- make -j4 bundle
|
||||||
|
|
||||||
|
---
|
||||||
|
kind: signature
|
||||||
|
hmac: a0a4b7ba82017ec84889766fe8b15b8acbea104753bfe3ff61c212686122ea02
|
||||||
|
|
||||||
|
...
|
2
Makefile
2
Makefile
@ -31,7 +31,7 @@ sphinx:
|
|||||||
rm build/singlehtml/_static/css/badge_only.css
|
rm build/singlehtml/_static/css/badge_only.css
|
||||||
rm build/singlehtml/_static/epub_cover.png
|
rm build/singlehtml/_static/epub_cover.png
|
||||||
rm build/singlehtml/_static/german-stemmer.js
|
rm build/singlehtml/_static/german-stemmer.js
|
||||||
rm build/singlehtml/_static/jquery-3.5.1.js
|
rm build/singlehtml/_static/jquery-3.6.0.js
|
||||||
rm build/singlehtml/_static/language_data.js
|
rm build/singlehtml/_static/language_data.js
|
||||||
rm build/singlehtml/_static/searchtools.js
|
rm build/singlehtml/_static/searchtools.js
|
||||||
rm build/singlehtml/_static/underscore-1.13.1.js
|
rm build/singlehtml/_static/underscore-1.13.1.js
|
||||||
|
Loading…
Reference in New Issue
Block a user