         formatter.dateFormat = "YYYYMMddHHMMSS"
         let timestamp = formatter.stringFromDate(currentTime)
         
-        let cloneDirectory = "\(Config.releasesDirectory)/\(timestamp)"
+        let cloneDirectory = "\(Paths.releasesDirectory)/\(timestamp)"
         try server.execute("git clone \(repoURL) \(cloneDirectory)")
-        try server.execute("ln -sfn \(cloneDirectory) \(Config.currentDirectory)")
+        try server.execute("ln -sfn \(cloneDirectory) \(Paths.currentDirectory)")
     }
 }
 

    
    func run(server: ServerType) throws { 
        print("Building swift project")
        try server.within(Config.currentDirectory) {
            try server.execute("swift build")
        }
    }

}

extension Config {
    public static var projectName = "Project" // Must be supplied
    public static var deployDirectory = "/var/www"
    public static var repoURL: String? = nil // Must be supplied
}

public class DeployCluster: Cluster {
