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
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
Add a link
Reference in a new issue