mirror of
https://github.com/alexhopeoconnor/default.git
synced 2026-10-22 10:42:11 +10:00
Add template (#1827)
This commit is contained in:
@@ -17,6 +17,7 @@ on:
|
|||||||
- plugin
|
- plugin
|
||||||
- python_script
|
- python_script
|
||||||
- removed
|
- removed
|
||||||
|
- template
|
||||||
- theme
|
- theme
|
||||||
|
|
||||||
concurrency:
|
concurrency:
|
||||||
|
|||||||
@@ -12,6 +12,7 @@ on:
|
|||||||
- plugin
|
- plugin
|
||||||
- python_script
|
- python_script
|
||||||
- removed
|
- removed
|
||||||
|
- template
|
||||||
- theme
|
- theme
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
@@ -25,6 +26,7 @@ on:
|
|||||||
- plugin
|
- plugin
|
||||||
- python_script
|
- python_script
|
||||||
- removed
|
- removed
|
||||||
|
- template
|
||||||
- theme
|
- theme
|
||||||
|
|
||||||
concurrency:
|
concurrency:
|
||||||
@@ -40,7 +42,7 @@ jobs:
|
|||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
|
|
||||||
- name: Validate
|
- name: Validate
|
||||||
run: jq --raw-output . appdaemon blacklist critical integration netdaemon plugin python_script removed theme
|
run: jq --raw-output . appdaemon blacklist critical integration netdaemon plugin python_script removed template theme
|
||||||
|
|
||||||
sorted:
|
sorted:
|
||||||
name: Sorted
|
name: Sorted
|
||||||
|
|||||||
@@ -9,6 +9,7 @@ CATEGORIES = [
|
|||||||
"netdaemon",
|
"netdaemon",
|
||||||
"plugin",
|
"plugin",
|
||||||
"python_script",
|
"python_script",
|
||||||
|
"template",
|
||||||
"theme",
|
"theme",
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|||||||
@@ -7,6 +7,7 @@ categories = [
|
|||||||
"netdaemon",
|
"netdaemon",
|
||||||
"plugin",
|
"plugin",
|
||||||
"python_script",
|
"python_script",
|
||||||
|
"template",
|
||||||
"theme",
|
"theme",
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|||||||
@@ -22,6 +22,7 @@ CATEGORIES = [
|
|||||||
"netdaemon",
|
"netdaemon",
|
||||||
"plugin",
|
"plugin",
|
||||||
"python_script",
|
"python_script",
|
||||||
|
"template",
|
||||||
"theme",
|
"theme",
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|||||||
@@ -49,6 +49,7 @@ for category in [
|
|||||||
"netdaemon",
|
"netdaemon",
|
||||||
"plugin",
|
"plugin",
|
||||||
"python_script",
|
"python_script",
|
||||||
|
"template",
|
||||||
"theme",
|
"theme",
|
||||||
]:
|
]:
|
||||||
with open(category, "r") as cat_file:
|
with open(category, "r") as cat_file:
|
||||||
|
|||||||
@@ -7,6 +7,7 @@ categories = [
|
|||||||
"netdaemon",
|
"netdaemon",
|
||||||
"plugin",
|
"plugin",
|
||||||
"python_script",
|
"python_script",
|
||||||
|
"template",
|
||||||
"theme",
|
"theme",
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|||||||
@@ -28,6 +28,12 @@ RUN apk add --no-cache git jq bash
|
|||||||
# git clone --depth 1 "https://github.com/${entry}.git" "/python_script/${entry}";\
|
# git clone --depth 1 "https://github.com/${entry}.git" "/python_script/${entry}";\
|
||||||
# done
|
# done
|
||||||
#
|
#
|
||||||
|
# COPY ./template /data/
|
||||||
|
# RUN \
|
||||||
|
# for entry in $(jq -r .[] /data/template); do\
|
||||||
|
# git clone --depth 1 "https://github.com/${entry}.git" "/template/${entry}";\
|
||||||
|
# done
|
||||||
|
#
|
||||||
#
|
#
|
||||||
# COPY ./theme /data/
|
# COPY ./theme /data/
|
||||||
# RUN \
|
# RUN \
|
||||||
|
|||||||
Reference in New Issue
Block a user