init
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Simon Bruder 2019-05-26 15:29:43 +00:00
commit 029b83ef9b
No known key found for this signature in database
GPG key ID: 6F03E0000CC5B62F
3 changed files with 35 additions and 0 deletions

21
.drone.yml Normal file
View file

@ -0,0 +1,21 @@
kind: pipeline
name: default
steps:
- name: build
image: mikefarah/yq
commands:
- yq r -j bangs.yml > bangs.json
- name: upload
image: plugins/s3
settings:
bucket: cdn
access_key:
from_secret: aws_access_key_id
secret_key:
from_secret: aws_secret_access_key
source: bangs.json
target: /bangs/
path_style: true
endpoint: https://s3.sbruder.de

1
.gitignore vendored Normal file
View file

@ -0,0 +1 @@
bangs.json

13
bangs.yml Normal file
View file

@ -0,0 +1,13 @@
# Wikipedia
wde: https://de.wikipedia.org/w/index.php?search=%s
wen: https://en.wikipedia.org/wiki/Special:Search?search=%s
# Youtube
yt: https://www.youtube.com/results?search_query=%s
# Dictionaries
jisho: https://jisho.org/search/%s
lide: https://de.linguee.com/deutsch-englisch/search?query=%s
# Package search
alpine: https://pkgs.alpinelinux.org/packages?name=%s&arch=x86_64