travelynx: add imprint
All checks were successful
bundlewrap/pipeline/head This commit looks good

This commit is contained in:
Franzi 2020-08-21 15:06:04 +02:00
parent 4a81c05f6d
commit b4122bf3f9
Signed by: kunsi
GPG key ID: 12E3D2136B818350
2 changed files with 53 additions and 0 deletions

View file

@ -1,3 +1,5 @@
from os.path import isfile, join
pkg_apt = {
'perl': {},
'cpanminus': {},
@ -33,6 +35,14 @@ files = {
},
}
if isfile(join(repo.path, 'data', 'travelynx', 'files', 'imprint', node.name)):
files['/opt/travelynx/templates/imprint.html.ep'] = {
'source': 'imprint/{}'.format(node.name),
'needs': {
'git_deploy:/opt/travelynx',
},
}
git_deploy = {
'/opt/travelynx': {
'repo': 'https://github.com/derf/travelynx.git',