> --
> 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
nikola-discus...@googlegroups.com.
> For more options, visit
https://groups.google.com/groups/opt_out.
>
>
I, for one, have a `src` branch storing my virtualenv with Nikola. I
have two directories, ~/git/kwpolska.github.com-master and
~/kwpolska.github.com-src. I run `nikola build` followed by `nikola
deploy`:
DEPLOY_COMMANDS = ["rm -rf ~/git/kwpolska.gihub.com-master/*",
"rsync -rav output/* ~/git/kwpolska.github.com-master/",
"~/git/kwpolska.github.com-master/nikola-deploy"]
and, the last command is a script due to CWD-related bullshit — all
commands in DEPLOY_COMMANDS are run in the directory with conf.py and
`cd` doesn’t work. Here is the script:
#!/bin/zsh
cd ~/git/kwpolska.github.com-master/
git add *
git commit -as
git push origin master
--
Kwpolska <
http://kwpolska.tk> | GPG KEY: 5EAAEA16
stop html mail | always bottom-post
http://asciiribbon.org |
http://caliburn.nl/topposting.html