How can I publish a site post build?
#!/bin/bash
set -e
cp -R /var/livesite /var/newversion
rsync user@devserver:/var/readytogolive /var/newversion
mv /var/livesite /var/oldlivesite
mv /var/newversion /var/livesite
Tags: .net windows deployment iis-6
Source: By Dane O'Connor as answer to the question
This code snippet was collected from stackoverflow, and is licensed under CC BY-SA 2.5
Related code-snippets:
- How do you calculate someone's age based on datetime?
- Difference between Math.Floor() and Math.Truncate().
- Anatomy of a memory leak -'memory leak'
- Do you like compression of files? How do you decompress them?
- How can I sync my SVN revision number with my ASP.NET web site?
- Embedding Windows Media Player for all browsers. Will help in making it portable.
- What is the catch all algorithm?
- Register Windows program with mailto protocol programmatically.
- How do you sort a dictionary by value?
- How do I see preview JPEG file of PDF on Windows?
- What are the best ways to access Exchange using PHP?
- If a.net Embedded Database runs on a network. Embedded Database can run off a network.
- How can I create an object instance from a Type?
- Localising Date format descriptors: A set of localised descriptors for localising the date format in an existing format.
- Visual Studio Setup Project - Per User Registry Settings.