diff approach
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
stryan 2024-09-04 22:01:05 -04:00
parent 23e3fdbdf5
commit ac55eced09
2 changed files with 3 additions and 2 deletions

View File

@ -10,7 +10,8 @@ steps:
from_secret: build_username
dockerfile: Containerfile
tags: latest
secrets: id=CONFIG_JSON
config_json:
from_secret: config_json
when:
- branch: 'master'
event: push

View File

@ -1,5 +1,5 @@
#!/bin/bash
cp /run/secrets/config_json config.json
echo "$CONFIG_JSON" >> config.json
for d in packs/*/ ; do
sticker-pack "$d" --add-to-index web/packs/
done