Chmod task to fix perms
This commit is contained in:
parent
f240cbc23f
commit
604b355cce
1 changed files with 12 additions and 3 deletions
15
.vscode/tasks.json
vendored
15
.vscode/tasks.json
vendored
|
@ -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"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue