Permalink
Browse files

push the latest build output as nightlies

  • Loading branch information...
1 parent 27bfe9a commit 9dcc864a774b360aeade9285a5ed12894a95bba9 @johnbender johnbender committed Mar 1, 2012
Showing with 3 additions and 6 deletions.
  1. +3 −6 Makefile
View
@@ -187,15 +187,12 @@ deploy_latest:
# TODO target name preserved to avoid issues during refactor, latest -> deploy_latest
latest: build_latest deploy_latest
-# Build the nightly backups. This is done on a server cronjob
-nightlies: css js docs zip
+# Push the nightly backups. This is done on a server cronjob
+deploy_nightlies:
# Time to put these on the CDN
- @@mkdir -p tmp/nightlies
- @@mv ${OUTPUT} tmp/nightlies/$$(date "+%Y%m%d")
- @@scp -qr tmp/nightlies/* jqadmin@code.origin.jquery.com:/var/www/html/code.jquery.com/mobile/nightlies/
+ @@scp -qr ${OUTPUT} jqadmin@code.origin.jquery.com:/var/www/html/code.jquery.com/mobile/nightlies/$$(date "+%Y%m%d")
# -------------------------------------------------
-
# Deploy a finished release. This is manually done.
deploy: init css js docs zip
# Deploying all the files to the CDN

0 comments on commit 9dcc864

Please sign in to comment.