Skip to content

Commit

Permalink
feat(docs): ci test
Browse files Browse the repository at this point in the history
  • Loading branch information
dogodo-cc committed Apr 17, 2024
1 parent 866da70 commit 562bd7d
Showing 1 changed file with 12 additions and 6 deletions.
18 changes: 12 additions & 6 deletions .github/workflows/deploy-oss.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,15 @@ jobs:
run: ossutil cp -rf ./projects/document/docs/.vitepress/dist oss:https://website-cocos-fe/

github-ids:
if: contains(github.event.head_commit.message, 'github')
runs-on: ubuntu-latest
steps:
- name: 项目部署 - githubIds
if:contains(github.event.head_commit.message, 'github')
run:ossutil cp -rf ./projects/github-ids/github-ids.json oss:https://90s/github-ids/
if: contains(github.event.head_commit.message, 'github')
runs-on: ubuntu-latest
steps:
- name: 启用 oss-util 工具
uses: manyuanrong/[email protected]
with:
endpoint: 'oss-cn-hangzhou.aliyuncs.com'
access-key-id: ${{ secrets.OSS_ID }}
access-key-secret: ${{ secrets.OSS_SECRET }}

- name: 项目部署 - githubIds
run: ossutil cp -rf ./projects/github-ids/github-ids.json oss:https://90s/github-ids/

0 comments on commit 562bd7d

Please sign in to comment.