From de554a763c96e95015e81ce77c32bfd3527ecc9a Mon Sep 17 00:00:00 2001 From: rustdesk Date: Tue, 15 Oct 2024 00:03:12 +0800 Subject: [PATCH] fix swa --- v3/deploy.sh | 14 ++++++++++++++ v3/src/pages/pricing.astro | 4 +++- 2 files changed, 17 insertions(+), 1 deletion(-) create mode 100755 v3/deploy.sh diff --git a/v3/deploy.sh b/v3/deploy.sh new file mode 100755 index 0000000..f9ebb93 --- /dev/null +++ b/v3/deploy.sh @@ -0,0 +1,14 @@ + #!/usr/bin/env bash + npm run build + cd dist + ln -s pricing/index.html pricing.html + ln -s terms/index.html terms.html + ln -s success/index.html success.html + ln -s cancel/index.html cancel.html + ln -s privacy/index.html privacy.html + ln -s about/index.html about.html + tar czf x * + scp x ot:/tmp/ + ssh ot "sudo tar xzf /tmp/x -C /var/www/html/v3 && /bin/rm /tmp/x && sudo chown www-data:www-data /var/www/html/v3 -R" + /bin/rm x + cd - diff --git a/v3/src/pages/pricing.astro b/v3/src/pages/pricing.astro index 696910a..9623ace 100644 --- a/v3/src/pages/pricing.astro +++ b/v3/src/pages/pricing.astro @@ -13,6 +13,7 @@ const metadata = {