Skip to content

TAG_PUSH

TAG_PUSH #1532

Workflow file for this run

# 文件名建议统一为 tag-push.yml
# 应用 publish.yml 的 demo
name: TAG_PUSH
on: create
jobs:
call-publish:
if: github.event.ref_type == 'tag'
uses: TDesignOteam/workflows/.github/workflows/reusable-publish-npm.yml@main
secrets:
TDESIGN_SURGE_TOKEN: ${{ secrets.TDESIGN_SURGE_TOKEN }}
PERSONAL_TOKEN: ${{ secrets.PERSONAL_TOKEN }}
with:
node-version-file: .node-version
permissions:
contents: read
id-token: write