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
ddfreyne opened this issue Dec 10, 2015 · 1 comment
Closed

Preprocessor not executed before check/deploy #763

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

Comments

@ddfreyne
Copy link
Member

@ddfreyne ddfreyne 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 removed this from the 4.0.3 milestone Dec 18, 2015
@ddfreyne ddfreyne added this to the 4.1.1 milestone Dec 18, 2015
@ddfreyne ddfreyne added this to the 4.1.1 milestone Dec 18, 2015
@ddfreyne ddfreyne removed this from the 4.0.3 milestone Dec 18, 2015
@ddfreyne
Copy link
Member Author

@ddfreyne ddfreyne 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
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant