Commit Graph

164 Commits

Author SHA1 Message Date
Masahiro Kamata
9b43210b8a enable wildcard of rm_rf 2014-10-04 08:56:28 +09:00
Andy Lindeman
00d1591322 Fixes load path issues with ruby-based git credential helpers
Otherwise, we get errors like this (with boxen, e.g.):

```
/opt/boxen/bin/boxen-git-credential:23:in `require': cannot load such file -- boxen/config (LoadError)
        from /opt/boxen/bin/boxen-git-credential:23:in `<main>'
Username for 'https://github.com':
```
2014-07-19 15:08:28 -04:00
Brandon Mathis
52f9119645 Initial update to be compatible with Jekyll 2 2014-06-21 10:34:55 -05:00
Timothy Macdonald
c23be69915 Use correct time in log message for Github deploy 2014-05-17 15:08:38 -05:00
Patrick Aikens
c139f680e1 Fix typo in update_style copy command 2014-02-01 00:20:19 -05:00
Patrick Aikens
51ad614bd2 Reversed update_style copy direction to correctly restore the sass.old/custom files to the new sass/custom folder 2014-02-01 00:09:38 -05:00
Brandon Mathis
fe6ef744ed Merge pull request #1431 from Haacked/windows-code-page-fix
Set the codepage to 65001 before generating
2014-01-30 09:32:35 -08:00
Matt Enright
33b92bdfbb Fix spelling error 2013-12-19 16:26:03 -05:00
Phil Haack
3477eaf834 chcp only needs to run once 2013-11-29 20:43:32 -08:00
Haacked
21d26da1b6 Add check for running on Windows 2013-11-28 20:00:14 -08:00
Haacked
cf4af1d825 Set the codepage to 65001 before generating 2013-11-28 19:52:03 -08:00
Parker Moore
abc9ef5113 Move '/.' back to first arg in :update_style
Rel #1299
2013-11-17 21:52:15 -05:00
Parker Moore
4a3c160a17 Merge pull request #1299 from blake41/master
Fix update styles rake task
2013-11-17 18:51:37 -08:00
J. B. Rainsberger
b57935d42c Include timezone offset in new post template for YAML Front-Matter
Closes #1419.
2013-11-17 15:33:22 -05:00
nagimov
d7a4bf5fc0 ".git" added to sample string with SSH repository URL
Octopress does not work with a repo URL like a "git@github.com:your_username/your_username.github.io" ("ERROR: repository not found" error appears).
It is necessary to add ".git" to the end of this line.
2013-09-20 02:17:07 +06:00
Brandon Mathis
a604dce258 Fixed blog_url for personal github pages projects. #1328 2013-08-23 15:03:57 -05:00
Brandon Mathis
77dc6a1ccf Fixed setup_github_pages success message. #1328 2013-08-23 14:07:42 -05:00
Rob Slifka
7f19c78cd5 Improved readability 2013-08-22 22:01:41 -07:00
Rob Slifka
f56cbb5589 Extract method 2013-08-21 20:58:45 -07:00
Rob Slifka
def01cb444 Use source/CNAME (if it exists) to set _config.yml url property 2013-08-21 16:42:03 -07:00
Blake Johnson
b19dbff510 update style rake task to copy from new sass to old sass folder. it seems like it was backwards before which makes no sense 2013-07-15 12:10:35 -04:00
Brandon Mathis
bc67475148 Github Pages deployment is now using git add -A for compatability with Git 1.8.2+ 2013-06-23 18:06:02 -05:00
erizhang
f5bb4dd89e add https protocol supporting during rake setup_github_pages 2013-05-31 11:19:47 +08:00
Brandon Mathis
1bd2b62a80 Added support for deploying to github.io 2013-04-09 11:48:16 -05:00
Brandon Mathis
5b887fef97 improved regexes for setup_github_pages task 2013-01-13 10:02:54 -06:00
Brandon Mathis
963eff26eb Removed unnecessary passive group from octopress origin regex 2013-01-12 21:24:15 -06:00
Vaz Allen
54fb2173d1 setup_github_pages: allow for clones missing .git extension 2013-01-12 21:22:09 -06:00
richo
5b332f5c95 Whitespace 2013-01-11 23:10:08 +11:00
Brandon Mathis
65f7f7f0b3 Rake task new_post now accepts titles through stdin
This should help resolve issues for zsh users and make it easier to enter titles which freak out Rake's argument processing
2013-01-01 14:22:48 -06:00
Brandon Mathis
48d3e75ff5 Merge pull request #844 from jsvensson/rsyncargs
Rakefile option for any additional rsync arguments
2012-12-19 22:13:04 -08:00
Johan Svensson
916b87a545 Rakefile option for any additional rsync arguments
Added variable `rsync_args`
2012-12-09 19:04:41 +01:00
Parker Moore
49e97e53f5 Fixing English error pet-peeve. 2012-11-30 21:42:46 -05:00
Brandon Mathis
2b67270f96 Disabled Rsync delete by default. Closes #787 2012-10-13 15:36:25 -05:00
Nathan Long
bcbc95b142 Example repo URL - see Github issue 516 2012-07-12 05:39:30 -04:00
Brandon Mathis
ce0d25100b now Github repo url can be specified inline setup_github_pages command 2011-12-18 15:38:11 -06:00
Brandon Mathis
39ec55b605 Removed offending paren in Rakefile 2011-12-10 18:30:33 -06:00
Brandon Mathis
bdc3cb8bd3 Rsync --delete option can be turned off in Rakefile configuration and users can exclude directories from sync by adding an rsync-exclude file to their root directory. fixes #247 2011-12-10 18:18:34 -06:00
Frederic Hemberger
e220fcc610 Merge branch 'master' of github.com:imathis/octopress 2011-12-10 14:48:35 +01:00
Frederic Hemberger
254cdd35d6 :copydot ignores thumbnail files starting with '._' 2011-12-10 14:46:13 +01:00
Frederic Hemberger
e5c262cb8f Merge pull request #225 from imathis/post_names
Add more flexibility to :new_page task
2011-12-10 04:04:48 -08:00
Frederic Hemberger
6714e5c7f5 Set flag in preview mode and re-generate files before deployment if necessary 2011-11-29 15:13:50 +01:00
Frederic Hemberger
f1ebf35869 Introduce distinction between preview/productive site generation
Posts which contain the YAML attribute `published: false` are usually
not generated by Jekyll. With this patch they can be previewed just
like published posts on localhost using `rake watch`or `rake preview`.

NOTICE: Before pushing to the productive environment, use `rake generate`
to update the public directory and remove posts which are flagged not to be
published.
2011-11-23 14:37:30 +01:00
Frederic Hemberger
ffa68a1fe3 Fixes typo in :push task 2011-10-17 08:18:41 +02:00
Frederic Hemberger
fc138b2e35 Adds more flexibility to :new_page task
Page filenames/directories are lowercased and sanitized by default to
allow a greater flexibility:

- new_page["/path/to/file"] # => source/path/to/file/index.markdown
- new_page["path/to/file"] # => source/path/to/file/index.markdown
- new_page["my path/my file"] # => source/my-path/my-file/index.markdown
- new_page["lorem.ipsum.dolor"] # => source/lorem-dot-ipsum.dolor
- new_page["Questions & Answers"] # => source/questions-and-answers/index.markdown
2011-10-16 16:22:37 +02:00
Frederic Hemberger
82942bd088 Replaces system call with cross-platform cp_r, fixes #200 2011-10-16 13:07:31 +02:00
Frederic Hemberger
4b87a2fb7d Removes 'titlecase' from page name, fixes #202 2011-10-16 11:49:18 +02:00
Frederic Hemberger
fe19c2aaae Removes duplicate mkdir_p 2011-10-16 11:43:55 +02:00
Brandon Mathis
86c72a4ca6 ensures compiled /source/stylesheets/screen.css exists before running watch and preview tasks, fixes #214 2011-10-11 15:14:41 -05:00
Frederic Hemberger
35ebe0d647 Allows '-' in deployment branch names, fixes #213 2011-10-11 14:20:52 +02:00
Brandon Mathis
09057190d9 fixed issue where update_source failed if source/index was any extension other than .html 2011-10-01 23:36:52 -05:00