woody 0.3.1 → 0.3.2
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/woody/deployer.rb +5 -0
- data/lib/woody/version.rb +1 -1
- metadata +1 -1
data/lib/woody/deployer.rb
CHANGED
@@ -9,9 +9,14 @@ module Woody
|
|
9
9
|
Dir.glob "output/**/*" do |item|
|
10
10
|
next if File.directory? item
|
11
11
|
name = item[7..-1] # Remove "output/"
|
12
|
+
next if name == "index.html" # These *must* be left until last
|
13
|
+
next if name == "feed.xml"
|
12
14
|
upload name, item
|
13
15
|
end
|
14
16
|
|
17
|
+
upload "index.html", "output/index.html"
|
18
|
+
upload "feed.xml", "output/feed.xml"
|
19
|
+
|
15
20
|
# Purge left over files
|
16
21
|
purge_bucket
|
17
22
|
end
|
data/lib/woody/version.rb
CHANGED