Chmod task to fix perms

This commit is contained in:
TrainDoctor 2022-06-16 12:47:53 -07:00
parent f240cbc23f
commit 604b355cce

15
.vscode/tasks.json vendored
View file

@ -68,7 +68,15 @@
"dependsOn": [ "dependsOn": [
"createfolders" "createfolders"
], ],
"command": "rsync -azp --delete --rsh='ssh -p ${config:deckport} ${config:deckkey}' --exclude='.git/' --exclude='.github/' --exclude='.vscode/' --exclude='node_modules/' --exclude='dist/' --exclude=`src/` --exclude=`assets/` --exclude='*.log' --exclude='.gitignore' . deck@${config:deckip}:${config:deckdir}/homebrew/dev/plugins/${workspaceFolderBasename}", "command": "rsync -azp --delete --rsh='ssh -p ${config:deckport} ${config:deckkey}' --exclude='.git/' --exclude='.github/' --exclude='.vscode/' --exclude='node_modules/' --exclude=`src/` --exclude='*.log' --exclude='.gitignore' . deck@${config:deckip}:${config:deckdir}/homebrew/dev/plugins/${workspaceFolderBasename}",
"problemMatcher": []
},
{
"label": "chmodfolders",
"detail": "chmods folders to prevent perms issues",
"type": "shell",
"group": "none",
"command": "ssh deck@${config:deckip} -p ${config:deckport} ${config:deckkey} 'echo '${config:deckpass}' | sudo -S chmod -R ug+rw ${config:deckdir}/homebrew/dev/'",
"problemMatcher": [] "problemMatcher": []
}, },
{ {
@ -76,8 +84,8 @@
"dependsOrder": "sequence", "dependsOrder": "sequence",
"group": "none", "group": "none",
"dependsOn": [ "dependsOn": [
"buildall", "deploy",
"deploy" "chmodfolders"
] ]
}, },
// ALL-IN-ONE // ALL-IN-ONE
@ -87,6 +95,7 @@
"dependsOrder": "sequence", "dependsOrder": "sequence",
"group": "test", "group": "test",
"dependsOn": [ "dependsOn": [
"buildall",
"deployall" "deployall"
] ]
} }