File tree 2 files changed +16
-7
lines changed
2 files changed +16
-7
lines changed Original file line number Diff line number Diff line change 5
5
Development
6
6
-----------
7
7
8
- # Start a local server
9
- $ bundle exec middleman
8
+ ``` bash
9
+ # Start a local server
10
+ $ bundle exec middleman
10
11
11
- # Build docs
12
- $ bundle exec rake build
12
+ # Build docs
13
+ $ bundle exec rake build
13
14
14
- # Upload docs
15
- $ bundle exec rake deploy
15
+ # Upload docs
16
+ $ bundle exec rake deploy
17
+ $ bundle exec rake deploy version=0.1.1
18
+ ```
16
19
17
20
To do
18
21
-----
Original file line number Diff line number Diff line change
1
+ # Okay!
2
+ #
3
+ # rake deploy version=0.1.1
4
+
1
5
ENV [ 'github' ] ||= 'nadarei/mina'
2
6
ENV [ 'analytics_id' ] ||= 'UA-32476157-1'
3
7
10
14
11
15
desc "Updates online documentation"
12
16
task :deploy => :build do
13
- system "git update-ghpages #{ ENV [ 'github' ] } -i build"
17
+ cmd = "git update-ghpages #{ ENV [ 'github' ] } -i build"
18
+ cmd << " -p #{ ENV [ 'version' ] } " if ENV [ 'version' ]
19
+ system cmd
14
20
end
You can’t perform that action at this time.
0 commit comments