Commit f9342b5e334d5b9608870851ed7e89738cf6bb71

Authored by ly525
1 parent 8adfef61

chore: update editor deploy script

Showing 1 changed file with 1 additions and 25 deletions
front-end/h5/deploy.sh
1 1 #!/usr/bin/env sh
2   -# deploy guide: https://cli.vuejs.org/guide/deployment.html#platform-guides
3   -
4   -# abort on errors
5   -set -e
6   -
7   -# build
8   -npm run build
9   -
10   -# navigate into the build output directory
11   -cd dist
12   -
13   -# if you are deploying to a custom domain
14   -# echo 'www.example.com' > CNAME
15   -
16   -git init
17   -git add -A
18   -git commit -m 'deploy'
19   -
20   -# if you are deploying to https://<USERNAME>.github.io
21   -# git push -f git@github.com:<USERNAME>/<USERNAME>.github.io.git master
22   -
23   -# if you are deploying to https://<USERNAME>.github.io/<REPO>
24   -git push -f git@github.com:ly525/luban-h5.git master:gh-pages
25   -
26   -cd -
27 2 \ No newline at end of file
  3 +scp -r dist/* centos@aliyun:/home/centos/codebase/luban/luban-h5-dist/front-end
28 4 \ No newline at end of file
... ...