Skip to content

Commit 089d166

Browse files
committed
feat: deploy to tencent cloud
1 parent d7614dc commit 089d166

249 files changed

Lines changed: 71 additions & 10021 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/main.yml

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -23,14 +23,11 @@ jobs:
2323
run: yarn build
2424
# 命名这个任务为发布Deploy
2525
- name: Deploy
26-
# 因为构建之后,需要把代码上传到服务器上,所以需要连接到ssh,并且做一个拷贝操作
27-
uses: cross-the-world/scp-pipeline@master
28-
env:
29-
CI: true
30-
WELCOME: 'ssh scp ssh pipelines'
31-
LASTSSH: 'Doing something after copying'
26+
uses: appleboy/scp-action@v0.1.7
3227
with:
33-
ACCESS_TOKEN: ${{ secrets.ACCESS_TOKEN }}
34-
connect_timeout: 10s
35-
target_branch: gh-pages
36-
# publish_dir: 'dist/'
28+
host: ${{ secrets.USER_HOST }}
29+
username: ${{ secrets.USER_NAME }}
30+
password: ${{secrets.USER_PASS}}
31+
source: './dist/*'
32+
target: '/root/wangtao/fe-algorithm'
33+

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
node_modules
2+
dist
23
.dumi/tmp
34
.dumi/tmp-production
45
.DS_Store
6+

dist/2668.74f565d8.chunk.css

Lines changed: 0 additions & 5 deletions
This file was deleted.

dist/2668.8e1f29b7.async.js

Lines changed: 0 additions & 14 deletions
This file was deleted.

dist/2969.a5fda4fb.async.js

Lines changed: 0 additions & 3 deletions
This file was deleted.

dist/404.html

Lines changed: 0 additions & 12 deletions
This file was deleted.

dist/algorithm/chain-list/paritylinkedlist/index.html

Lines changed: 0 additions & 12 deletions
This file was deleted.

dist/algorithm/dynamic/decoding/index.html

Lines changed: 0 additions & 12 deletions
This file was deleted.

dist/algorithm/dynamic/stock-timing/index.html

Lines changed: 0 additions & 12 deletions
This file was deleted.

dist/algorithm/dynamic/subsequence/index.html

Lines changed: 0 additions & 12 deletions
This file was deleted.

0 commit comments

Comments
 (0)