BUGFIX: tmp might not exist
authorRégis Hanol <regis@hanol.fr>
Mon, 17 Feb 2014 14:58:18 +0000 (15:58 +0100)
committerRégis Hanol <regis@hanol.fr>
Mon, 17 Feb 2014 14:58:18 +0000 (15:58 +0100)
templates/web.template.yml

index 1784206bb56cdf2a42eba0bc466a661978bc3383..d8f47aee5a622648e2a1aa1707dda2c1a814cc36 100644 (file)
@@ -76,12 +76,12 @@ run:
         - git clean -f
         - git pull
         - git checkout $version
-        - touch tmp/.gitkeep
         - mkdir -p tmp/pids
         - mkdir -p tmp/sockets
         - mkdir -p /shared/log/rails
         - mkdir -p /shared/uploads
         - mkdir -p /shared/backups
+        - touch tmp/.gitkeep
         - rm -r log
         - ln -s /shared/log/rails $home/log
         - ln -s /shared/uploads $home/public/uploads