Brandon Bradley
818301c17b
Rakefile: use source_dir when setting url via CNAME
11 years ago
Dan Lowe
5a2f6481c8
Fix 1656 - & needs specific quoting under Windows
11 years ago
Parker Moore
c6c5b74f4d
Merge pull request #1331 from Darkhogg/patch-1
...
Fixed setup_github_pages failing and not properly writing url to _config.yml
11 years ago
Masahiro Kamata
9b43210b8a
enable wildcard of rm_rf
11 years ago
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 ':
```
11 years ago
Brandon Mathis
52f9119645
Initial update to be compatible with Jekyll 2
11 years ago
Timothy Macdonald
c23be69915
Use correct time in log message for Github deploy
11 years ago
Patrick Aikens
c139f680e1
Fix typo in update_style copy command
11 years ago
Patrick Aikens
51ad614bd2
Reversed update_style copy direction to correctly restore the sass.old/custom files to the new sass/custom folder
11 years ago
Brandon Mathis
fe6ef744ed
Merge pull request #1431 from Haacked/windows-code-page-fix
...
Set the codepage to 65001 before generating
11 years ago
Matt Enright
33b92bdfbb
Fix spelling error
11 years ago
Phil Haack
3477eaf834
chcp only needs to run once
12 years ago
Haacked
21d26da1b6
Add check for running on Windows
12 years ago
Haacked
cf4af1d825
Set the codepage to 65001 before generating
12 years ago
Parker Moore
abc9ef5113
Move '/.' back to first arg in :update_style
...
Rel #1299
12 years ago
Parker Moore
4a3c160a17
Merge pull request #1299 from blake41/master
...
Fix update styles rake task
12 years ago
J. B. Rainsberger
b57935d42c
Include timezone offset in new post template for YAML Front-Matter
...
Closes #1419 .
12 years ago
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.
12 years ago
Daniel Escoz
631069f427
Made blog_url becalled just once...
...
...and stored in the `url` variable.
12 years ago
Brandon Mathis
a604dce258
Fixed blog_url for personal github pages projects. #1328
12 years ago
Brandon Mathis
77dc6a1ccf
Fixed setup_github_pages success message. #1328
12 years ago
Daniel Escoz
a4236cae1b
Fixed blog_url when user contains uppercase letters
12 years ago
Daniel Escoz
498116b774
Fixed blog_url not returning & rake setup_github_pages failing
...
When executing `rake setup_github_pages`, an error tells that `url` don't exist. The reference to that variable has been changed to a call to `blog_url`.
The function `blog_url` was not returning anything, failing to properly write the `_config.yml` file. It now does return what should have.
12 years ago
Rob Slifka
7f19c78cd5
Improved readability
12 years ago
Rob Slifka
f56cbb5589
Extract method
12 years ago
Rob Slifka
def01cb444
Use source/CNAME (if it exists) to set _config.yml url property
12 years ago
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
12 years ago
Brandon Mathis
bc67475148
Github Pages deployment is now using `git add -A` for compatability with Git 1.8.2+
12 years ago
erizhang
f5bb4dd89e
add https protocol supporting during rake setup_github_pages
12 years ago
Brandon Mathis
1bd2b62a80
Added support for deploying to github.io
12 years ago
Brandon Mathis
5b887fef97
improved regexes for setup_github_pages task
12 years ago
Brandon Mathis
963eff26eb
Removed unnecessary passive group from octopress origin regex
12 years ago
Vaz Allen
54fb2173d1
setup_github_pages: allow for clones missing .git extension
12 years ago
richo
5b332f5c95
Whitespace
12 years ago
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
12 years ago
Brandon Mathis
48d3e75ff5
Merge pull request #844 from jsvensson/rsyncargs
...
Rakefile option for any additional rsync arguments
13 years ago
Johan Svensson
916b87a545
Rakefile option for any additional rsync arguments
...
Added variable `rsync_args`
13 years ago
Parker Moore
49e97e53f5
Fixing English error pet-peeve.
13 years ago
Brandon Mathis
2b67270f96
Disabled Rsync delete by default. Closes #787
13 years ago
Nathan Long
bcbc95b142
Example repo URL - see Github issue 516
13 years ago
Brandon Mathis
ce0d25100b
now Github repo url can be specified inline setup_github_pages command
14 years ago
Brandon Mathis
39ec55b605
Removed offending paren in Rakefile
14 years ago
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
14 years ago
Frederic Hemberger
e220fcc610
Merge branch 'master' of github.com:imathis/octopress
14 years ago
Frederic Hemberger
254cdd35d6
:copydot ignores thumbnail files starting with '._'
14 years ago
Frederic Hemberger
e5c262cb8f
Merge pull request #225 from imathis/post_names
...
Add more flexibility to :new_page task
14 years ago
Frederic Hemberger
6714e5c7f5
Set flag in preview mode and re-generate files before deployment if necessary
14 years ago
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.
14 years ago
Frederic Hemberger
ffa68a1fe3
Fixes typo in :push task
14 years ago
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
14 years ago