Skip to content

Commit

Permalink
Calling script rather than putting long command in src
Browse files Browse the repository at this point in the history
  • Loading branch information
= committed Nov 5, 2016
1 parent 5a558f2 commit 15b16be
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/main.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand Down
Binary file not shown.

0 comments on commit 15b16be

Please sign in to comment.