added deployWebsite script, add new server to topgrade config
This commit is contained in:
parent
8af7933444
commit
0c40dca11f
2 changed files with 9 additions and 2 deletions
|
@ -6,7 +6,7 @@
|
||||||
{{- if eq .chezmoi.osRelease.id "endeavouros" }}
|
{{- if eq .chezmoi.osRelease.id "endeavouros" }}
|
||||||
disable = ["tldr", "pip3", "node", "vim", "git_repos", "containers", "asdf", "distrobox", "helix", "composer", "yarn", "cargo", "remotes", "rustup", "vscode", "powershell", "dotnet", "flatpak", "shell", "snap", "sheldon", "clam_av_db", "nix"]
|
disable = ["tldr", "pip3", "node", "vim", "git_repos", "containers", "asdf", "distrobox", "helix", "composer", "yarn", "cargo", "remotes", "rustup", "vscode", "powershell", "dotnet", "flatpak", "shell", "snap", "sheldon", "clam_av_db", "nix"]
|
||||||
{{- else }}
|
{{- else }}
|
||||||
disable = ["tldr", "pip3", "node", "vim", "git_repos", "containers", "asdf", "distrobox", "helix", "composer", "yarn", "cargo", "remotes", "rustup", "vscode", "powershell", "dotnet", "flatpak", "shell", "snap", "firmware", "sheldon", "clam_av_db"]
|
disable = ["tldr", "pip3", "node", "vim", "git_repos", "containers", "asdf", "distrobox", "helix", "composer", "yarn", "cargo", "remotes", "rustup", "vscode", "powershell", "dotnet", "flatpak", "shell", "snap", "sheldon", "clam_av_db", "firmware"]
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
||||||
# Skip Notify
|
# Skip Notify
|
||||||
|
@ -28,7 +28,7 @@ skip_notify = true
|
||||||
{{- if eq .chezmoi.hostname "pxm" }}
|
{{- if eq .chezmoi.hostname "pxm" }}
|
||||||
remote_topgrades = ["kali", "mail"]
|
remote_topgrades = ["kali", "mail"]
|
||||||
{{- else }}
|
{{- else }}
|
||||||
remote_topgrades = ["pxm", "web", "kube", "infra", "uptime"]
|
remote_topgrades = ["pxm", "web", "kube", "kali", "uptime"]
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
||||||
# Arguments to pass SSH when upgrading remote systems
|
# Arguments to pass SSH when upgrading remote systems
|
||||||
|
|
7
dot_local/bin/executable_deployWebsite
Normal file
7
dot_local/bin/executable_deployWebsite
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
cd "$HOME"/Dokumente/files/code/websites/zola/hook || exit
|
||||||
|
|
||||||
|
zola build
|
||||||
|
scp -r public web:site
|
||||||
|
ssh web 'sudo rm -rf /srv/site; sudo mv site /srv'
|
Loading…
Add table
Reference in a new issue