mirror of
https://github.com/rustdesk/doc.rustdesk.com.git
synced 2026-04-06 07:46:05 +00:00
deploy web workflow
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
#!/usr/bin/env bash
|
||||
rm -rf dist
|
||||
npm run build
|
||||
cd dist
|
||||
ln -s pricing/index.html pricing.html
|
||||
@@ -11,6 +12,7 @@
|
||||
ln -s open-source/index.html open-source.html
|
||||
ln -s ../v2/self-host
|
||||
ln -s ../v2/web
|
||||
cp -rf ../zh ./
|
||||
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"
|
||||
|
||||
Reference in New Issue
Block a user