Skip to content

Commit

Permalink
Update beta2 travis
Browse files Browse the repository at this point in the history
  • Loading branch information
shanjingheng committed Mar 1, 2024
1 parent 865b8fc commit c589006
Showing 1 changed file with 18 additions and 17 deletions.
35 changes: 18 additions & 17 deletions .github/workflows/blank.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: note build
# 触发workflow的条件
on:
push:
branches: ["doc-v2"]
branches: ["doc-v2-beta"]

env:
SERVER_PRIVATE_KEY: ${{ secrets.SERVER_PRIVATE_KEY }} # 服务器私钥
Expand Down Expand Up @@ -62,20 +62,21 @@ jobs:
REMOTE_HOST: ${{ secrets.SERVER_HOST }}
REMOTE_PORT: ${{ secrets.SERVER_PORT }} -o HostKeyAlgorithms=+ssh-rsa -o PubkeyAcceptedKeyTypes=+ssh-rsa
REMOTE_USER: ${{ secrets.SERVER_USER_NAME }}
TARGET: /data/apps/data/docs-im-beta/ # 服务器目标路径
TARGET: /data/apps/data/docs-im-beta2/ # 服务器目标路径

- name: CDN Refresh HTTPS
uses: visionwx/ali-cdn-refresh@main
with:
accessKeyId: ${{ secrets.ALIYUN_CDN_ACCESS_KEY_ID }}
accessKeySecret: ${{ secrets.ALIYUN_CDN_ACCESS_KEY_SECRET }}
type: Directory
path: https://doc.easemob.com/

- name: CDN Refresh HTTP
uses: visionwx/ali-cdn-refresh@main
with:
accessKeyId: ${{ secrets.ALIYUN_CDN_ACCESS_KEY_ID }}
accessKeySecret: ${{ secrets.ALIYUN_CDN_ACCESS_KEY_SECRET }}
type: Directory
path: http://doc.easemob.com/

# - name: CDN Refresh HTTPS
# uses: visionwx/ali-cdn-refresh@main
# with:
# accessKeyId: ${{ secrets.ALIYUN_CDN_ACCESS_KEY_ID }}
# accessKeySecret: ${{ secrets.ALIYUN_CDN_ACCESS_KEY_SECRET }}
# type: Directory
# path: https://doc.easemob.com/

# - name: CDN Refresh HTTP
# uses: visionwx/ali-cdn-refresh@main
# with:
# accessKeyId: ${{ secrets.ALIYUN_CDN_ACCESS_KEY_ID }}
# accessKeySecret: ${{ secrets.ALIYUN_CDN_ACCESS_KEY_SECRET }}
# type: Directory
# path: http://doc.easemob.com/

0 comments on commit c589006

Please sign in to comment.