mirror of
https://github.com/rustdesk/doc.rustdesk.com.git
synced 2026-04-11 10:16:04 +00:00
fix swa
This commit is contained in:
14
v3/deploy.sh
Executable file
14
v3/deploy.sh
Executable file
@@ -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 -
|
||||
Reference in New Issue
Block a user