diff --git a/package.json b/package.json index 0914e38..a172bbe 100644 --- a/package.json +++ b/package.json @@ -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", @@ -30,4 +30,4 @@ "autoprefixer": "^10.4.19", "postcss": "^8.4.39" } -} +} \ No newline at end of file diff --git a/scripts/deploy_to_uberspace.sh b/scripts/deploy_to_uberspace.sh deleted file mode 100644 index 5a375dd..0000000 --- a/scripts/deploy_to_uberspace.sh +++ /dev/null @@ -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 \ No newline at end of file diff --git a/scripts/post_upload_commands.sh b/scripts/post_upload_commands.sh deleted file mode 100644 index 013ca18..0000000 --- a/scripts/post_upload_commands.sh +++ /dev/null @@ -1,3 +0,0 @@ -cd html -mv dist/* . -rm -r dist \ No newline at end of file diff --git a/scripts/pre_upload_commands.sh b/scripts/pre_upload_commands.sh deleted file mode 100644 index 895c335..0000000 --- a/scripts/pre_upload_commands.sh +++ /dev/null @@ -1,2 +0,0 @@ -cd html -rm -r * \ No newline at end of file diff --git a/scripts/sftp_commands.sh b/scripts/sftp_commands.sh deleted file mode 100644 index 2eb14aa..0000000 --- a/scripts/sftp_commands.sh +++ /dev/null @@ -1,3 +0,0 @@ -cd html -put -r dist -bye \ No newline at end of file