This commit is contained in:
parent
ac55eced09
commit
c83a77e925
@ -10,7 +10,7 @@ steps:
|
|||||||
from_secret: build_username
|
from_secret: build_username
|
||||||
dockerfile: Containerfile
|
dockerfile: Containerfile
|
||||||
tags: latest
|
tags: latest
|
||||||
config_json:
|
configjson:
|
||||||
from_secret: config_json
|
from_secret: config_json
|
||||||
when:
|
when:
|
||||||
- branch: 'master'
|
- branch: 'master'
|
||||||
|
@ -1,6 +1,15 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
echo "$CONFIG_JSON" >> config.json
|
echo "$PLUGIN_CONFIGJSON" >> config.json
|
||||||
|
|
||||||
|
if [ ! -s config.json ]; then
|
||||||
|
echo "no config found"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
if [[ -z $(grep '[^[:space:]]' "config.json") ]] ; then
|
||||||
|
echo "no config in file"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
for d in packs/*/ ; do
|
for d in packs/*/ ; do
|
||||||
sticker-pack "$d" --add-to-index web/packs/
|
sticker-pack "$d" --add-to-index web/packs/
|
||||||
done
|
done
|
||||||
rm config.json
|
|
||||||
|
Loading…
Reference in New Issue
Block a user