PREVIEW_PUBLISH #3818
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 文件名建议统一为 preview-publish | |
# 应用 preview.yml 的 demo | |
name: PREVIEW_PUBLISH | |
on: | |
workflow_run: | |
workflows: ["MAIN_PULL_REQUEST"] | |
types: | |
- completed | |
jobs: | |
call-preview: | |
uses: Tencent/tdesign/.github/workflows/preview.yml@main | |
secrets: | |
TDESIGN_SURGE_TOKEN: ${{ secrets.TDESIGN_SURGE_TOKEN }} |