mirror of
https://github.com/getpelican/pelican.git
synced 2025-10-15 20:28:56 +02:00
Use OUTPUT_PATH setting in Invoke tasks.py template
The default setting for OUTPUT_PATH is already 'output', so it would be more DRY to use the existing default value instead of a hardcoded 'output' string.
This commit is contained in:
parent
c61665b85d
commit
5525a9021e
1 changed files with 2 additions and 2 deletions
|
|
@ -16,8 +16,8 @@ LOCAL_SETTINGS = get_settings_from_file('pelicanconf.py')
|
||||||
SETTINGS.update(LOCAL_SETTINGS)
|
SETTINGS.update(LOCAL_SETTINGS)
|
||||||
|
|
||||||
CONFIG = {
|
CONFIG = {
|
||||||
# Local path configuration (can be absolute or relative to tasks.py)
|
# Output path. Can be absolute or relative to tasks.py. Default: 'output'
|
||||||
'deploy_path': 'output',
|
'deploy_path': SETTINGS['OUTPUT_PATH'],
|
||||||
{% if ssh %}
|
{% if ssh %}
|
||||||
# Remote server configuration
|
# Remote server configuration
|
||||||
'production': '{{ssh_user}}@{{ssh_host}}:{{ssh_port}}',
|
'production': '{{ssh_user}}@{{ssh_host}}:{{ssh_port}}',
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue