File tree 2 files changed +48
-3
lines changed 2 files changed +48
-3
lines changed Original file line number Diff line number Diff line change 40
40
switches : -arP
41
41
path : services/admin-web/build/
42
42
remote_path : ${{ secrets.ADMIN_WEB_DEPLOY_PATH }}
43
- remote_host : ${{ secrets.ADMIN_WEB_DEPLOY_HOST }}
44
- remote_user : ${{ secrets.ADMIN_WEB_DEPLOY_USER }}
45
- remote_key : ${{ secrets.ADMIN_WEB_DEPLOY_KEY }}
43
+ remote_host : ${{ secrets.SSH_HOST }}
44
+ remote_user : ${{ secrets.SSH_USERNAME }}
45
+ remote_key : ${{ secrets.SSH_KEY }}
Original file line number Diff line number Diff line change
1
+ name : Deploy AI Bot
2
+
3
+ on :
4
+ push :
5
+ branches :
6
+ - release/alpha
7
+ - chore/deploy-ai-bot
8
+ paths :
9
+ - " .github/workflows/**"
10
+ - " packages/@liexp/core/**"
11
+ - " packages/@liexp/shared/**"
12
+ - " packages/@liexp/backend/**"
13
+ - " services/ai-bot/**"
14
+
15
+ jobs :
16
+ deploy-ai-bot :
17
+ runs-on : ubuntu-latest
18
+ strategy :
19
+ matrix :
20
+ node-version : [23.x]
21
+
22
+ steps :
23
+ - uses : actions/checkout@v4
24
+ - uses : ./.github/actions/install-deps
25
+ with :
26
+ hash : ${{ hashFiles('**/pnpm-lock.yaml') }}
27
+
28
+ - uses : ./.github/actions/build-packages
29
+ with :
30
+ hash : ${{ github.sha }}
31
+
32
+ - name : Build
33
+ run : |
34
+ pnpm ai-bot build
35
+ pnpm ai-bot pkg
36
+
37
+ - name : Deploy on Server
38
+ uses : burnett01/rsync-deployments@7.0.2
39
+ with :
40
+ switches : -arP
41
+ path : services/ai-bot/build/ai-bot
42
+ remote_path : ${{ secrets.AI_BOT_DEPLOY_PATH }}
43
+ remote_host : ${{ secrets.SSH_HOST }}
44
+ remote_user : ${{ secrets.SSH_USERNAME }}
45
+ remote_key : ${{ secrets.SSH_KEY }}
You can’t perform that action at this time.
0 commit comments