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

Closed
denisdefreyne opened this issue Dec 10, 2015 · 1 comment
Closed

Preprocessor not executed before check/deploy #763

denisdefreyne opened this issue Dec 10, 2015 · 1 comment
Milestone

Comments

@denisdefreyne
Copy link
Member

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.

@denisdefreyne denisdefreyne added this to the 4.0.3 milestone Dec 10, 2015
@denisdefreyne denisdefreyne modified the milestones: 4.0.3, 4.1.1 Dec 18, 2015
@denisdefreyne
Copy link
Member Author

Fixed in #784.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant