Merge branch 'master' of git.cmtec.se:pages/haasp.net

This commit is contained in:
Christoffer Martinsson 2018-10-29 15:33:16 +01:00
commit 82b5965900

View File

@ -6,10 +6,12 @@ variables:
GIT_SUBMODULE_STRATEGY: recursive
before_script:
- apk --no-cache upgrade && apk --no-cache add samba samba-common-tools supervisor
- apk --no-cache upgrade && apk --no-cache add samba samba-common-tools supervisor py-pip
build:
script:
- pip install requests
- python get_app_data.py $HAASP_TOKEN
- hugo
- smbclient '//192.168.30.10/pages' $PASS -U $USER -c 'prompt OFF; recurse ON; rmdir '$CI_PROJECT_NAME';'
- smbclient '//192.168.30.10/pages' $PASS -U $USER -c 'prompt OFF; recurse ON; mkdir '$CI_PROJECT_NAME'; cd '$CI_PROJECT_NAME'; lcd public; mput *'