forked from gulliver/rtfm
Compare commits
No commits in common. "cb92dc4f659454c063e606171142526ea1fc1f4a" and "9ed563e8fabfb12dad454740fb1c01a4226014c3" have entirely different histories.
cb92dc4f65
...
9ed563e8fa
60
.drone.yml
60
.drone.yml
@ -1,60 +0,0 @@
|
|||||||
---
|
|
||||||
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
|
|
||||||
- name: upload
|
|
||||||
image: alpine
|
|
||||||
environment:
|
|
||||||
NC_USER:
|
|
||||||
from_secret: nextcloud_user
|
|
||||||
NC_PASSWORD:
|
|
||||||
from_secret: nextcloud_password
|
|
||||||
commands:
|
|
||||||
- apk add curl
|
|
||||||
- curl -X PUT -u $NC_USER:$NC_PASSWORD https://work.wtf-eg.de/remote.php/dav/files/$NC_USER/Member-Handbuch/Das%20Handbuch%20zur%20WTF%20eG.pdf -T bundle/rtfm-dashandbuchzurwtfeg.pdf
|
|
||||||
- curl -X PUT -u $NC_USER:$NC_PASSWORD https://work.wtf-eg.de/remote.php/dav/files/$NC_USER/Member-Handbuch/Das%20Handbuch%20zur%20WTF%20eG.epub -T bundle/RTFM-DasHandbuchzurWTFeG.epub
|
|
||||||
when:
|
|
||||||
branch:
|
|
||||||
- main
|
|
||||||
event:
|
|
||||||
- push
|
|
||||||
|
|
||||||
|
|
||||||
---
|
|
||||||
kind: signature
|
|
||||||
hmac: 84db7299d18047e70a324c4b059f8a2cdd13b497ac439264e4430a37e443c610
|
|
||||||
|
|
||||||
...
|
|
2
.gitmodules
vendored
2
.gitmodules
vendored
@ -1,3 +1,3 @@
|
|||||||
[submodule "handbuch"]
|
[submodule "handbuch"]
|
||||||
path = source/handbuch
|
path = source/handbuch
|
||||||
url = gitea@git.wtf-eg.de:wtf-eg/handbuch.git
|
url = https://git.wtf-eg.de/wtf-eg/handbuch.git
|
||||||
|
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.6.0.js
|
rm build/singlehtml/_static/jquery-3.5.1.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
|
||||||
|
Reference in New Issue
Block a user