diff --git a/Sources/main.swift b/Sources/main.swift index 382ef84..10583b2 100644 --- a/Sources/main.swift +++ b/Sources/main.swift @@ -13,7 +13,7 @@ import SwiftShell; // Define command functions let publish = { - let _ = run(bash: "cd /var/www/html && sudo git stash && sudo git stash drop && sudo git pull"); + let _ = run("/usr/local/bin/website-update.sh"); } let upload = { diff --git a/publisher-daemon.xcodeproj/project.xcworkspace/xcuserdata/stephen.xcuserdatad/UserInterfaceState.xcuserstate b/publisher-daemon.xcodeproj/project.xcworkspace/xcuserdata/stephen.xcuserdatad/UserInterfaceState.xcuserstate index 20115b6..a88368a 100644 Binary files a/publisher-daemon.xcodeproj/project.xcworkspace/xcuserdata/stephen.xcuserdatad/UserInterfaceState.xcuserstate and b/publisher-daemon.xcodeproj/project.xcworkspace/xcuserdata/stephen.xcuserdatad/UserInterfaceState.xcuserstate differ