feat: add -t for sudo in deploy
This commit is contained in:
parent
409cba27a5
commit
391be8705d
|
@ -1,10 +1,11 @@
|
|||
#!/bin/bash
|
||||
set -e
|
||||
# Build
|
||||
cd v2
|
||||
hugo
|
||||
cd ..
|
||||
# Backup current deploy
|
||||
ssh home.hugopoi.net sudo yunohost backup create --apps my_webapp
|
||||
ssh -t home.hugopoi.net sudo yunohost backup create --apps my_webapp
|
||||
echo "$1"
|
||||
if [[ "$1" == "--full" ]]; then
|
||||
echo "Deploy full legacy and new blog"
|
||||
|
|
Loading…
Reference in New Issue
Block a user