mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Update website translations on publish
This commit is contained in:
parent
31e693cd09
commit
09d25c21e8
@ -360,6 +360,8 @@ class UploadToServer(Command): # {{{
|
|||||||
description = 'Upload miscellaneous data to calibre server'
|
description = 'Upload miscellaneous data to calibre server'
|
||||||
|
|
||||||
def run(self, opts):
|
def run(self, opts):
|
||||||
|
check_call('scp translations/website/locales.zip main:/srv/main/'.split())
|
||||||
|
check_call('ssh main /apps/static/generate.py'.split())
|
||||||
src_file = glob.glob('dist/calibre-*.tar.xz')[0]
|
src_file = glob.glob('dist/calibre-*.tar.xz')[0]
|
||||||
upload_signatures()
|
upload_signatures()
|
||||||
check_call(['git', 'push'])
|
check_call(['git', 'push'])
|
||||||
|
Loading…
x
Reference in New Issue
Block a user