Improve tooling
This commit is contained in:
parent
458352da97
commit
3165d050a1
3 changed files with 24 additions and 16 deletions
8
justfile
8
justfile
|
|
@ -40,7 +40,8 @@ devserver-global:
|
|||
pelican -lr content -o output -s "{{CONFFILE}}" {{PELICANOPTS}} -b 0.0.0.0
|
||||
|
||||
# generate using production settings
|
||||
publish:
|
||||
publish number:
|
||||
just format {{number}}
|
||||
pelican content -o output -s "{{PUBLISHCONF}}" {{PELICANOPTS}}
|
||||
rsync -e ssh -av --delete-after /Users/pascal/Documents/craft-letter/output/ craftletter@ssh-craftletter.alwaysdata.net:/home/craftletter/www
|
||||
|
||||
|
|
@ -53,8 +54,9 @@ new number:
|
|||
PYTHONPATH=PWD venv/bin/python ./scripts/create_newsletter.py --number={{number}}
|
||||
|
||||
# generate HTML email
|
||||
mail file:
|
||||
PYTHONPATH=PWD venv/bin/python ./scripts/prepare_email.py {{file}}
|
||||
mail number:
|
||||
just format {{number}}
|
||||
PYTHONPATH=PWD venv/bin/python ./scripts/prepare_email.py --number={{number}}
|
||||
|
||||
# Format the content of a given newsletter
|
||||
format number:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue