forked from ruangrupa/lumbung.space
Revert "disable social generation for now [ci skip]"
This reverts commit 5ad74ef1cc
.
This commit is contained in:
parent
5ad74ef1cc
commit
a8071c8f0e
36
compose.yml
36
compose.yml
@ -104,24 +104,24 @@ services:
|
||||
done
|
||||
"
|
||||
|
||||
# social:
|
||||
# image: decentral1se/beta.lumbung.space-scripts:latest
|
||||
# volumes:
|
||||
# - content:/src/content/
|
||||
# secrets:
|
||||
# - masto_key
|
||||
# environment:
|
||||
# OUTPUT_DIR: /src/content/social
|
||||
# command: |
|
||||
# bash -c "
|
||||
# export MASTODON_AUTH_TOKEN=`cat /run/secrets/masto_key`;
|
||||
# while true
|
||||
# do
|
||||
# echo 'generating social posts...'
|
||||
# /usr/local/bin/lumbunglib-hash
|
||||
# sleep 700
|
||||
# done
|
||||
# "
|
||||
social:
|
||||
image: decentral1se/beta.lumbung.space-scripts:latest
|
||||
volumes:
|
||||
- content:/src/content/
|
||||
secrets:
|
||||
- masto_key
|
||||
environment:
|
||||
OUTPUT_DIR: /src/content/social
|
||||
command: |
|
||||
bash -c "
|
||||
export MASTODON_AUTH_TOKEN=`cat /run/secrets/masto_key`;
|
||||
while true
|
||||
do
|
||||
echo 'generating social posts...'
|
||||
/usr/local/bin/lumbunglib-hash
|
||||
sleep 700
|
||||
done
|
||||
"
|
||||
|
||||
volumes:
|
||||
content:
|
||||
|
Loading…
Reference in New Issue
Block a user