rsync instead of sftp
This commit is contained in:
parent
5c3976b3f0
commit
05de755496
|
@ -6,7 +6,7 @@
|
|||
"dev": "astro dev",
|
||||
"start": "astro dev",
|
||||
"build": "astro build",
|
||||
"deploy": "bun run build && sh scripts/deploy_to_uberspace.sh",
|
||||
"deploy": "bun run build && rsync -a dist/* uberspace_filipesm:~/html",
|
||||
"preview": "astro preview",
|
||||
"astro": "astro",
|
||||
"format": "prettier . -w --config ./.prettierrc",
|
||||
|
|
|
@ -1,3 +0,0 @@
|
|||
ssh -i ~/.ssh/uberspace_filipesm uberspace_filipesm < scripts/pre_upload_commands.sh
|
||||
sftp -i ~/.ssh/uberspace_filipesm -b scripts/sftp_commands.sh uberspace_filipesm
|
||||
ssh -i ~/.ssh/uberspace_filipesm uberspace_filipesm < scripts/post_upload_commands.sh
|
|
@ -1,3 +0,0 @@
|
|||
cd html
|
||||
mv dist/* .
|
||||
rm -r dist
|
|
@ -1,2 +0,0 @@
|
|||
cd html
|
||||
rm -r *
|
|
@ -1,3 +0,0 @@
|
|||
cd html
|
||||
put -r dist
|
||||
bye
|
Loading…
Reference in a new issue