not rm rf whatever
This commit is contained in:
+1
-1
@@ -16,7 +16,7 @@ tasks:
|
||||
desc: Sync binary to server
|
||||
deps: [build]
|
||||
cmds:
|
||||
- ssh -q {{.HOST}} "rm -rf {{.HAGFISK_DIR}}/hagfisk"
|
||||
- ssh -q {{.HOST}} "rm -f {{.HAGFISK_DIR}}/hagfisk"
|
||||
- echo "Syncing binary to remote..."
|
||||
- rsync -avz --progress ./target/release/hagfisk {{.HOST}}:{{.HAGFISK_DIR}}/hagfisk
|
||||
- echo "Restoring SELinux contexts..."
|
||||
|
||||
Reference in New Issue
Block a user