新增 CI 工作流文件并删除 preview-publish 工作流
All checks were successful
/ another-job (push) Successful in 13s

This commit is contained in:
严浩
2024-09-30 14:37:00 +08:00
parent 9cf5d2c679
commit 9304665be8
2 changed files with 7 additions and 22 deletions

7
.github/workflows/ci.yml vendored Normal file
View File

@ -0,0 +1,7 @@
on:
push:
jobs:
another-job:
runs-on: ubuntu-latest
steps:
- uses: yanhao98/composite-actions@main

View File

@ -1,22 +0,0 @@
# 文件名建议统一为 preview-publish
# 应用 preview.yml 的 demo
name: PREVIEW_PUBLISH
on:
push:
workflow_run:
workflows: ["MAIN_PULL_REQUEST"]
types:
- completed
jobs:
call-preview:
uses: https://github.com/Tencent/tdesign/.github/workflows/preview.yml@main
secrets:
TDESIGN_SURGE_TOKEN: ${{ secrets.TDESIGN_SURGE_TOKEN }}
another-job:
runs-on: ubuntu-latest
steps:
- name: Another job
run: echo "This is another job!"