Revert "disable social generation for now [ci skip]"

This reverts commit 5ad74ef1cc.
This commit is contained in:
knoflook 2022-01-28 15:56:36 +01:00
parent 5ad74ef1cc
commit a8071c8f0e
Signed by untrusted user: knoflook
GPG Key ID: D6A1D0E8FC4FEF1C

View File

@ -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: