mirror of
https://github.com/yanhao98/composite-actions.git
synced 2025-07-13 23:00:48 +08:00

All checks were successful
PREVIEW_PUBLISH / another-job (push) Successful in 6s
PREVIEW_PUBLISH / call-preview (push) Has been skipped
22 lines
488 B
YAML
22 lines
488 B
YAML
# 文件名建议统一为 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!" |