You can have two config files, the usual conf.py and a staging.py with
DEPLOY_DRAFTS=True, and use the --conf=staging.py option to use it when
deploying to staging.

On Thu, Dec 15, 2022 at 11:38 AM Derek Riemer <[email protected]>
wrote:

> I have a custom environment called "staging" which is just a separate
> subdomain. Is there a way I can tell nikola to only deploy draft posts to
> staging, and not my production deployment?
>
> --
> Derek Riemer
> Improving the world one byte at a time!        ⠠⠊⠍⠏⠗⠕⠧⠬ ⠮ ⠸⠺ ⠐⠕ ⠃⠽⠞⠑ ⠁⠞ ⠁
> ⠐⠞⠖
> •    Accessibility enthusiast.
> •    Proud user of the NVDA screen reader.
> •    Open source enthusiast.
> •    Skier.
>
> •    Personal website: https://derekriemer.com
>
>
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "nikola-discuss" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/nikola-discuss/CADvgMs8TEShwWoVz2eb90bZrzEMz4fOiZ8tPwaqv%2BcVyCeGqwQ%40mail.gmail.com
> <https://groups.google.com/d/msgid/nikola-discuss/CADvgMs8TEShwWoVz2eb90bZrzEMz4fOiZ8tPwaqv%2BcVyCeGqwQ%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"nikola-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/nikola-discuss/CALXDAfrYj23BbYxWqFn%2BFBm1Heo-XouHgB9VWa%2BJpdOOYyGtcw%40mail.gmail.com.

Reply via email to