Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix deploy defaults for non-zero flag values (e.g. maxDeletes, invalidateCDN) #11129

Merged
merged 1 commit into from
Jun 18, 2023

Commits on Jun 18, 2023

  1. deploy: Fix deploy defaults for non-zero flag values (e.g. maxDeletes…

    …, invalidateCDN)
    
    This was broken in the config rewrite in Hugo 0.112.0.
    
    The workaround is to be explicit about setting these flag values (even if just using the defaults), e.g.:
    
    ```
    hugo deploy --invalidateCDN --maxDeletes 256
    ```
    
    Fixes gohugoio#11127
    bep committed Jun 18, 2023
    Configuration menu
    Copy the full SHA
    3769fb6 View commit details
    Browse the repository at this point in the history