Compare commits
10 Commits
3445ab68c3
...
435e71b4a7
| Author | SHA1 | Date | |
|---|---|---|---|
| 435e71b4a7 | |||
| 8e814717d1 | |||
| dec012ee00 | |||
| c01bdb29d3 | |||
| 4e0bd0a53d | |||
| 01cabbbab0 | |||
| 428be96d15 | |||
| 285a1970eb | |||
| 73829e8322 | |||
| 8989bc864b |
@ -1,20 +1,20 @@
|
|||||||
# This file is a template, and might need editing before it works on your project.
|
# This file is a template, and might need editing before it works on your project.
|
||||||
# Full project: https://gitlab.com/pages/hugo
|
# Full project: https://gitlab.com/pages/hugo
|
||||||
image: dettmering/hugo-build
|
image: jguyomard/hugo-builder
|
||||||
|
|
||||||
variables:
|
variables:
|
||||||
GIT_SUBMODULE_STRATEGY: recursive
|
GIT_SUBMODULE_STRATEGY: recursive
|
||||||
|
|
||||||
before_script:
|
before_script:
|
||||||
- apk --no-cache upgrade && apk --no-cache add samba samba-common-tools supervisor py-pip
|
- apk --no-cache upgrade && apk --no-cache add samba samba-common-tools supervisor py-pip python3 py3-pip
|
||||||
|
|
||||||
build:
|
build:
|
||||||
script:
|
script:
|
||||||
- pip install requests
|
- pip3 install requests
|
||||||
- python get_app_data.py $HAASP_TOKEN
|
- python3 get_app_data.py $HAASP_TOKEN
|
||||||
- hugo
|
- hugo
|
||||||
- smbclient '//192.168.30.128/pages' $PASS -U $USER -c 'prompt OFF; recurse ON; rmdir '$CI_PROJECT_NAME';'
|
- smbclient '//192.168.30.129/pages' $PASS -U $USER -c 'prompt OFF; recurse ON; rmdir '$CI_PROJECT_NAME';'
|
||||||
- smbclient '//192.168.30.128/pages' $PASS -U $USER -c 'prompt OFF; recurse ON; mkdir '$CI_PROJECT_NAME'; cd '$CI_PROJECT_NAME'; lcd public; mput *'
|
- smbclient '//192.168.30.129/pages' $PASS -U $USER -c 'prompt OFF; recurse ON; mkdir '$CI_PROJECT_NAME'; cd '$CI_PROJECT_NAME'; lcd public; mput *'
|
||||||
only:
|
only:
|
||||||
- master
|
- master
|
||||||
|
|
||||||
|
|||||||
@ -3,7 +3,7 @@ import requests
|
|||||||
import sys
|
import sys
|
||||||
import os
|
import os
|
||||||
|
|
||||||
apps = {"broadlink": "68", "zwave": "60", "huee": "62", "webapp": "59", "yeelight": "87", "octoprint": "99", "history": "102", "webapi": "104", "chromecast": "148", "mqtt": "152"}
|
apps = {"broadlink": "68", "zwave": "60", "huee": "62", "webapp": "59", "yeelight": "87", "octoprint": "99", "postgresql": "102", "webapi": "104", "chromecast": "148", "mqtt": "152", "webgrid": "167"}
|
||||||
headers = {"PRIVATE-TOKEN": sys.argv[1]}
|
headers = {"PRIVATE-TOKEN": sys.argv[1]}
|
||||||
|
|
||||||
def get_data(id_number):
|
def get_data(id_number):
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user