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

Preprocessor not executed before check/deploy #763

ddfreyne opened this issue Dec 10, 2015 · 1 comment


None yet
1 participant
Copy link

commented Dec 10, 2015

dowker88 wrote:

I have a project that creates multiple sites from a single code base. Basically, the layouts, CSS, JS, etc. are all common. The Markdown files (and a few small extras) are unique to each site. I use ENV variables to specify which site is being compiled, etc.

In Nanoc 4, the deployer behavior has changed. In version 3, I could change the source path programmatically before rsync was executed. I can't seem to find a way to do the same in Nanoc 4. The output directory is customized in the preprocessor using config[:output_dir] but it no longer runs in the new deployer. Any ideas?

It appears that the preprocessor is not executed before check/deploy.

@ddfreyne ddfreyne added this to the 4.0.3 milestone Dec 10, 2015

@ddfreyne ddfreyne modified the milestones: 4.0.3, 4.1.1 Dec 18, 2015


This comment has been minimized.

Copy link
Member Author

commented Dec 20, 2015

Fixed in #784.

@ddfreyne ddfreyne closed this Dec 20, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.