This commit is contained in:
parent
8c56c856c1
commit
5abbdf13f1
|
|
@ -58,7 +58,12 @@ EOF
|
|||
echo "FATAL: Forbidden file found in '/home/tt/.config/teapot/teapot.env'. Check the latest README to set TEAPOT_GITEA_TOKEN in secrets instead." >&2
|
||||
exit 1
|
||||
fi
|
||||
rsync -a "$config_repo_path/home/tt/.ssh/" "/home/tt/.ssh"
|
||||
# optional .ssh path
|
||||
if [ -d "$config_repo_path/home/tt/.ssh/" ]; then
|
||||
rsync -a "$config_repo_path/home/tt/.ssh/" "/home/tt/.ssh"
|
||||
else
|
||||
echo "WARNING: No .ssh directory found in config repo"
|
||||
fi
|
||||
rsync -a --delete "$config_repo_path/home/tt/.config/" "/home/tt/.config"
|
||||
|
||||
# check gitea token
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user